|
function OpenFloatingForm(target, id, SecondId) {
var pnlId = "";
var page = "";
var maskId = "";
var z_index = "";
var margin = 30;
switch (target) {
case "Donor":
pnlId = "#pnlFloating1";
page = "DonationForm.aspx";
maskId = "#mask1";
z_index = "100";
break;
case "Payment":
pnlId = "#pnlFloating1";
page = "PaymentRealizationDetailForm.aspx";
maskId = "#mask1";
z_index = "100";
break;
}
var maskHeight = $(document).height();
var maskWidth = $(window).width();
//Set height and width to mask to fill up the whole screen
$(maskId).css({ 'width': maskWidth + 'px', 'height': maskHeight + 'px', 'z-index': z_index });
$(maskId).show();
var scrollTop = $(document).scrollTop();
var docWidth = document.body.clientWidth;
var docHeight = $(window).height();
$(pnlId).width(docWidth - 2 * margin);
$(pnlId).height(docHeight - (margin * 2));
$(pnlId).css('left', margin);
$(pnlId).css('top', margin + scrollTop);
var frame = $(pnlId).find('iframe');
frame.attr('src', "blank.htm");
frame.width($(pnlId).width());
frame.height($(pnlId).height() - 25);
var param2 = (SecondId > 0) ? "&PaymentID=" + SecondId : "";
frame.attr('src', page + "?DonorID=" + id + param2);
$(pnlId).fadeIn('slow', function () {
});
return false;
}
|
|
|
|
|
Hello everybody,i've a problem like this. :((
i have a form sign up with more 100 field input,
i don't wana save all them with tradition method,
i wana save all them like CTRL + S in browsers, by the way,i'll have all data that users push in my fields.
How can i get it? Please help me.
My language i used is asp.net
modified 29-Oct-13 5:36am.
|
|
|
|
|
First you have to disable Ctrl + S Shortcut so that the browser does not try to save the html page,
Add a button and set the style property to "display:none", then you can trigger the button using jquery.
Here is an example of how to disable the shortcut and trigger the button: (did not try this myself, but you get the idea)
$(window).keydown( function (event) {
if (event.which == 83 && event.ctrlKey) {
$('#<%=btnMyButton.ClientID %>').click();
event.preventDefault();
return false;
}
});
|
|
|
|
|
Many thanks to Blikkies, i'll try it.
Anyone else?
I wana get more experience
Thanks to viewing
|
|
|
|
|
Hi Blikkies,
I was try it but not success.Maybe is my
lore. how i can i make it?
|
|
|
|
|
Hi this is Anupam Singh,Now i have a problem in timer in Asp.Net,
My Timer is working properly fine , but is refresh on every second while i use timer in update panel still i am getting problem last 4 days please suggest me ,How can i stop page refresh on every second , if any other idea,and any other think so please send a email on
my email that is : anupamsinghjadoun@hotmail.com
Anupam Singh
|
|
|
|
|
I've try to export Crystal Report to pdf file but I get Error Message
"The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception."
What dose it mean? and how can I slove this problem? Tell me Please
Thannk you
Best Regard,
Tanadon Manpiboon
|
|
|
|
|
Here solved thread[^]
thatrajaNobody remains a virgin, Life screws everyone
|
|
|
|
|
Lots of websites have popup notification about new features and give you a tour. Are there third party apps that are plugged into the site or something custom to be built within the site?
|
|
|
|
|
Any example? sample screenshot? Use imgur.com for screenshots.
|
|
|
|
|
i have developed a online examination application in asp.net but i faced trouble in examination part when user give exam and then he pressed next button for next question then next question come too late...
in this past i stored all question in datatable from database on page load and then show them one by one and its run very well on local host but on server its run too slow and i don't know to show question with another way so plz help me to solve this problem...
|
|
|
|
|
If you are reading directly from the database everytime, try optimizing your database query.
On the web page side, the problem could be anything from long running loops to network speeds.
|
|
|
|
|
Get All data at once in List<object> and display question one by one.
And
if page is using heavy controls then use jquery/Ajax to update just Questions.this will not invoke postback and your execution time can be reduced.
Hope this Help.
Pratik Bhuva
---------------
The night is darkest just before the dawn. And I promise you, the dawn is coming
|
|
|
|
|
Hi, I started learning MVC with MVC 4 (very recently!!)
In some template project (new MVC project in MVC) we got an area folder with heaps of classes, looks complicated...
What is this area thing? Is it an old (MVC1/2) thing? Is it worth the bother? Any links?
Thanks, any help appreciated!
|
|
|
|
|
Super Lloyd wrote: Any links? Probably lots, but you need to use a search engine to find them.
Veni, vidi, abiit domum
|
|
|
|
|
|
|
Hi,All
It's my first time to use ajax.net(AJAX Extensions).
I just convert my project from .NET 1.0 to .NET 3.5.This project not used to have updatepanel.
My condition is on button1 click refresh data in updatepanel1 on my project.Then I've try to use Updatepanel to make it but it still post back all of page.
I've to use this code with new create project and it's work.I do not understand why it does not work the same.
Please find my code below and give me an idea to reslove this problem.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<asp:Panel ID="p1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager" EnablePartialRendering="true"
runat="server" />
<asp:UpdatePanel ID="UpdatePanel1"
UpdateMode="Conditional"
runat="server">
<ContentTemplate>
<fieldset>
<legend>UpdatePanel content</legend>
<!--
<%=DateTime.Now.ToString() %>
<br />
<asp:Button ID="Button1"
Text="Refresh Panel"
runat="server" onclick="Button1_Click" />
<asp:Label ID="lbl" runat="server"></asp:Label>
</fieldset>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</asp:Panel>
</form>
</body>
</html>
Thank you
|
|
|
|
|
|
I've try that but it's still not work
|
|
|
|
|
I have a radchart on a webpage that is populated via a stored procedure. The RadChart shows up Ok. When I add an "onClick" event to the radchart, neither the masterpage or the aspx page loads anything. I have done this in a standalone and the onClick worked. I tnink the problem is in the Web.config file but its looks OK to me.
Here is the Web.config:
<configuration>
<configsections>
<appsettings>
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;">
<add key="configService" value="http://107.20.179.42:8080/ConfigService/ConfigService.svc">
<add key="dbSchema" value="CPS">
<add key="logger" value="true">
<add key="CLAIMSPERPAGE" value="15">
<add key="CLAIMLINESPERPAGE" value="20">
<add key="HOMEPAGE" value="/CMS/MyWorklist.aspx">
<add key="MYPROFILE" value="/CMS/UserEdit.aspx">
<add key="CLAIMEDIT" value="/CMS/ClaimEdit.aspx">
<add key="TODOLISTPAGE" value="/CMS/MyWorklist.aspx">
<add key="PHYSICIANWORKLIST" value="/CMS/PhysicianWorklist.aspx">
<add key="CLAIMPROCESS" value="/CMS/ClaimProcess.aspx">
<add key="INTEGRATIONTRANSSEARCH" value="/CMS/IntegrationTransactionsSearch.aspx">
<add key="HAVTEST" value="/CMS/havtest1.aspx">
<add key="WORKLIST" value="/CMS/Worklist.aspx">
<add key="DASHBOARD" value="/CMS/ACPMSDashboard.aspx">
<add key="BATCHPROCESS" value="/CMS/BatchProcess.aspx">
<add key="VETERANSEARCH" value="/CMS/VeteranSearch.aspx">
<add key="VENDORSEARCH" value="/CMS/VendorSearch.aspx">
<add key="CLAIMSEARCH" value="/CMS/ClaimSearch.aspx">
<add key="CLAIMDETAIL" value="/CMS/ClaimDetail.aspx">
<add key="CLAIMAUTH" value="/CMS/ClaimMatchAuthorization.aspx">
<add key="ADMINCONSOLE" value="/Admin/AdminConsole.aspx">
<add key="SYSTEMCONFIGURATION" value="/Admin/SystemConfiguration.aspx">
<add key="LETTERREPORT" value="/LetterAccess/LetterReport.aspx">
<add key="VISTAERROR" value="~/CMS/VistaError.aspx">
<add key="REPORT" value="http://107.20.179.42:8080/vapm-reports/rdLogon.aspx">
<add key="CLAIMVENDORMATCH" value="~/CMS/ClaimVendorMatch.aspx">
<add key="LETTERREPORTPATH" value="~/LetterReport">
<add key="ProfessionalClaimProcessTimeLimitDays" value="30">
<add key="ProfessionalClaimEDIProcessStartTimeLimitDays" value="5">
<add key="FEE_BASIS_IDCARD_TimeSpanDays_MAX" value="1095">
<add key="FEE_BASIS_IDCARD_TimeSpanDays_DEFAULT" value="1095">
<add key="SHORT_TERM_TimeSpanDays_MAX" value="365">
<add key="SHORT_TERM_TimeSpanDays_DEFAULT" value="90">
<add key="HOME_HEALTH_TimeSpanDays_MAX" value="365">
<add key="HOME_HEALTH_TimeSpanDays_DEFAULT" value="90">
<add key="GPS_CONNECTION" value="http://107.20.179.42:8080/GPSService/VAPMService.svc">
<add key="GPS_LOOKUP_SERVICE" value="http://107.20.179.42:8080/GPSService/LookUpService.svc">
<add key="version" value="2.1">
<add key="CIUI">
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;">
<connectionstrings>
VVVVV
<rijndaelconfiguration key="ei94UYRY93!d99e49kdn23aznt49n#uY" salt="Y16ivn!^MNqzbn90">
<applicationconfiguration>
<add key="SystemFramework.Tracing.Enabled" value="True">
<add key="SystemFramework.Tracing.TraceFile" value="C:\AppLogs\AcpmsLog.txt">
<add key="SystemFramework.Tracing.TraceLevel" value="4">
<add key="SystemFramework.Tracing.SwitchName" value="SystemSwitch">
<add key="SystemFramework.Tracing.SwitchDescription" value="Error and information tracing for System">
<add key="SystemFramework.EventLog.Enabled" value="False">
<add key="SystemFramework.EventLog.Machine" value=".">
<add key="SystemFramework.EventLog.SourceName" value="SystemApp">
<add key="SystemFramework.EventLog.LogLevel" value="4">
<system.web>
<identity impersonate="true">
<authentication mode="Forms">
<forms loginurl="Login.aspx" protection="All" timeout="30" name="MMM.His.CI.UI" defaulturl="/CMS/MyWorklist.aspx" requiressl="false" slidingexpiration="true" enablecrossappredirects="false">
<authorization>
<allow users="*">
<rolemanager enabled="true" defaultprovider="SqlRoleManager">
<providers>
<add connectionstringname="DBConnection" applicationname="CIUI"
="" name="SqlRoleManager" type="System.Web.Security.SqlRoleProvider">
<membership defaultprovider="SQLMembershipProvider" userisonlinetimewindow="15">
<providers>
<clear>
<add name="SQLMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionstringname="DBConnection" applicationname="CIUI" enablepasswordretrieval="false" enablepasswordreset="true" requiresquestionandanswer="false" requiresuniqueemail="false" passwordformat="Encrypted" minrequiredpasswordlength="8" minrequirednonalphanumericcharacters="1" maxinvalidpasswordattempts="3" passwordattemptwindow="10">
<machinekey validationkey="FF73A818A9B5806403773597C3E68B3190E29D9DBEECFFC699DC4E664D8B6513946499F4661542061491FD094E98B5E035A024476AC935C69658186020ECE6DF" decryptionkey="DA082F86554B68E2CBBA660886D3FD81CC6E45FD99BFDBAC4A8E8FB8AF7EFE9C" validation="SHA1" decryption="AES">
<sessionstate mode="StateServer" stateconnectionstring="tcpip=localhost:42424" cookieless="UseUri" regenerateexpiredsessionid="true">
<customerrors mode="RemoteOnly" defaultredirect="~/CMS/ClaimProcess.aspx">
<error statuscode="404" redirect="MissingPage.aspx">
<compilation debug="true" targetframework="4.0">
<assemblies>
<add assembly="Telerik.ReportViewer.WebForms, Version=4.2.10.1221, Culture=neutral, PublicKeyToken=a9d7983dfcc261be">
<add assembly="Telerik.Reporting, Version=4.2.10.1221, Culture=neutral, PublicKeyToken=a9d7983dfcc261be">
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A">
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">
<add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<add assembly="Telerik.Web.UI">
<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<pages viewstateencryptionmode="Auto" validaterequest="false" controlrenderingcompatibilityversion="3.5" clientidmode="AutoID">
<controls>
<add tagprefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI">
<httphandlers>
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false">
<add path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms" validate="false">
<add verb="*" path="ImageHandler.ashx" type="VapmLib.Lib.ImageHandler">
<add verb="*" path="ImageTileHandler.ashx" type="VapmLib.Lib.ImageTileHandler">
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false">
<add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false">
<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false">
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false">
<add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false">
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false">
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false">
<trace enabled="true">
<location path="JS">
<system.web>
<authorization>
<allow users="*">
<location path="Styles">
<system.web>
<authorization>
<allow users="*">
<location path="Images">
<system.web>
<authorization>
<allow users="*">
<location path="main.css">
<system.web>
<authorization>
<allow users="*">
<location path="Telerik.Web.UI.WebResource.axd">
<system.web>
<authorization>
<allow users="*">
<location path="Telerik.ReportViewer.axd">
<system.web>
<authorization>
<allow users="*">
<system.webserver>
<defaultdocument>
<files>
<clear>
<add value="login.aspx">
<validation validateintegratedmodeconfiguration="false">
<handlers accesspolicy="Read, Script">
<remove name="ChartImage_axd">
<remove name="Telerik_Web_UI_SpellCheckHandler_axd">
<remove name="Telerik_Web_UI_DialogHandler_aspx">
<remove name="Telerik_RadUploadProgressHandler_ashx">
<remove name="Telerik_Web_UI_WebResource_axd">
<add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms" precondition="integratedMode">
<add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" precondition="integratedMode,runtimeVersionv2.0">
<add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" precondition="integratedMode,runtimeVersionv2.0">
<add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" precondition="integratedMode,runtimeVersionv2.0">
<add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" precondition="integratedMode,runtimeVersionv2.0">
<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" precondition="integratedMode,runtimeVersionv2.0">
<remove name="ChartImageHandler">
<add name="ChartImageHandler" precondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<add name="ChartImage_axd" verb="*" precondition="integratedMode" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler">
<add name="Telerik_Web_UI_WebResource_axd" verb="*" precondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource">
<system.servicemodel>
<bindings>
<wshttpbinding>
<binding name="CISecurityBinding" closetimeout="00:05:00" opentimeout="00:05:00" sendtimeout="00:05:00" maxbufferpoolsize="2147483647" maxreceivedmessagesize="2147483647">
<readerquotas maxstringcontentlength="2147483647">
<security mode="None">
<binding name="claimsecurityControlBinding" closetimeout="00:05:00" opentimeout="00:05:00" sendtimeout="00:05:00" receivetimeout="00:05:00" maxbufferpoolsize="2147483647" maxreceivedmessagesize="2147483647">
<readerquotas maxstringcontentlength="2147483647" maxdepth="2147483647" maxarraylength="2147483647" maxbytesperread="2147483647" maxnametablecharcount="2147483647">
<security mode="None">
my aspx page:
<asp:content id="Content5" contentplaceholderid="contentPH" runat="server">
<telerik:radajaxmanager id="RadAjaxManager1" runat="server">
<ajaxsettings>
<telerik:ajaxsetting ajaxcontrolid="EDITypeChart">
<updatedcontrols>
<telerik:ajaxupdatedcontrol controlid="EDITypeChart" loadingpanelid="LoadingPanel1">
<telerik:ajaxsetting ajaxcontrolid="Refresh">
<updatedcontrols>
<telerik:ajaxupdatedcontrol controlid="EDITypeChart" loadingpanelid="LoadingPanel1">
<telerik:ajaxupdatedcontrol controlid="Refresh">
<telerik:radcodeblock id="RadCodeBlock1" runat="server">
function LoadDashboard() {
var chartDiv = document.getElementById("RadChart1");
if (chartDiv != null) {
chartDiv.setAttribute("onClick", "RadChart1_Click()");
}
}
<telerik:radchart id="EDITypeChart" runat="server" chartimageformat="Gif"
="" defaulttype="Pie" skin="Gray">
<appearance corners="Round, Round, Round, Round, 7">
<fillstyle filltype="ComplexGradient">
<fillsettings gradientmode="Horizontal">
<complexgradient>
<telerik:gradientelement color="236, 236, 236">
<telerik:gradientelement color="248, 248, 248" position="0.5">
<telerik:gradientelement color="236, 236, 236" position="1">
<border color="130, 130, 130">
<series>
<telerik:chartseries name="Series 1" type="Pie">
<appearance>
<fillstyle maincolor="164, 164, 164">
<textappearance textproperties-color="51, 51, 51">
<telerik:chartseries name="Series 2" type="Pie">
<appearance>
<fillstyle maincolor="108, 108, 108">
<textappearance textproperties-color="51, 51, 51">
<appearance dimensions-margins="17.6%, 3%, 1px, 1px"
="" dimensions-paddings="2px, 8px, 6px, 3px" position-alignedposition="TopRight">
<itemmarkerappearance figure="Square">
<border width="0">
<fillstyle maincolor="">
<border width="0">
<plotarea>
<xaxis>
<appearance color="182, 182, 182" majortick-color="216, 216, 216">
<majorgridlines color="216, 216, 216" penstyle="Solid">
<textappearance textproperties-color="51, 51, 51">
<axislabel>
<textblock>
<appearance textproperties-color="51, 51, 51">
<yaxis>
<appearance color="182, 182, 182" majortick-color="216, 216, 216"
="" minortick-color="223, 223, 223">
<majorgridlines color="216, 216, 216">
<minorgridlines color="223, 223, 223">
<textappearance textproperties-color="51, 51, 51">
<axislabel>
<textblock>
<appearance textproperties-color="51, 51, 51">
<appearance>
<fillstyle filltype="Solid" maincolor="White">
<border color="182, 182, 182">
<charttitle>
<appearance>
<fillstyle maincolor="">
<textblock>
<appearance textproperties-color="102, 102, 102"
="" textproperties-font="Arial, 18pt">
| |
| | | |
Thanks in advance
|
|
|
|
|
Please edit your question, put <pre> tags around the web.config data and remove all the blank lines so people can read it comfortably.
Veni, vidi, abiit domum
|
|
|
|
|
what is the code to upload a file on asp.net into a browser on an application?
|
|
|
|
|
You must be more specific about what you want to do...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).
|
|
|
|
|
|