This is my coding protected void btnSave_Click(object sender, Infragistics.WebUI.WebDataInput.ButtonEventArgs e) { try { if (!fnValidate()) return; else { save(); } } catch (Exception ex) { throw(ex); } } bool fnValidate() { Page.ClientScript.RegisterStartupScript(this.GetType(), "ClientScript", ""); } Client side function function confirmUpdate() { var agree = vbConfirm(Are you sure do you want to continue ?'); if (agree == true) { return true; } else { return false; } }</x-turndown>
priyagee
Posts
-
Confirmation Message Box in Code Behind Asp.Net [modified] -
Confirmation Message Box in Code Behind Asp.Net [modified]Thanks for the reply I no need to call the function in onClientClick() , that will work fine . I need to call the script function only at the server side validation because the confirmation message should work based on the server side validation. Thank you
-
Confirmation Message Box in Code Behind Asp.Net [modified]Hai all, I want to display confirmation message box in Asp.net code behind (C#). When I save the record i am doing some validations , in the validation function i need to display confirmation message with "yes" or "no" , if "yes" the save process should be done and if "no" save process should not be proceed . I have used Page.ClientScript.RegisterStartupScript() ,but it is not working. I have also tried btnSave.Attributes.Add("onclick", "return confirm()"); but the confirmation message is opened before save . I need only at the time of validation . Please Help me. Thank u
modified on Friday, December 17, 2010 12:42 AM
-
to get value of template control in ultrawebgridHai all , I need to get the value of template control in ultrawebgrid at server side. I have given runat="server" for the control but i cannot access the control at server side . Please Help me . Thank u
-
Upload file to serverI have tried it but still i am getting null. PostedFile.FileName is null.
-
Upload file to serverThnak u for the reply , I ll try it.
-
Upload file to serverYes i need only the value , in client side i am getting the path value but in server side it is null.
-
Upload file to serverActually in my form i had a ultrawebgrid and a template column as button, when click the button by client side the value ll be assign to the fileupload control and when i click the upload button the file should be uploaded . My ultrawebgrid and upload button is inside refresh panel and fileupload is outside the refreshpanel.
-
Upload file to serverI have tried that too but still it didnt work , the postedfile is null.
-
Upload file to serverHai all, I need to upload file to server and i am using input file to upload the file, my problem is postedfile.filename is always null. I have tried using updatepanel and had same problem. Can anyone help me.
-
WPF : Print Page number on footerHai all , Can anyone help me how to print page number in XamReportPreview. Thank you
-
WPF : Print Select Dialog in XamReportPreviewHai all, I am using XamReportPreview,the printer select dialog shown when the print button is pressed and saved it . My Problem is when i press the print button second time it does not show the print select dialog. After close and open the print preview screen the print select dialog is shown . Can anyone help me how to show the dialog without closing.
-
Wpf Report - Printing the XamDataGrid with Infragistics.ReportsHai all I am using wpf reporting . While Printing the XamDataGrid with Infragistics.Reports i need to print it with border . can anyone help me . thank you
modified on Saturday, July 3, 2010 6:58 AM
-
display column headers verticallyHai all I am using Infragistics UltraWebGrid control. My column headers are very long,so I want to display them vertically Can anyone help me? Thank you
-
Open Save as dialog in ultrawebgrid hyperlink cell onclickHai all, I need to open save as dialog in ultrawebgrid hyperlink cell click and i need to save the document Can anyone help me plz.. Thank you
-
To Open Save Dialog box using javascriptHai all I need to open save dialog box on ultrawebgrid cell click , i hv used the code "document.execCommand("saveAs")" dialog box is opening , but i need to save .doc file also, in the filetype it shows only Html and .txt file. Plz help me . Thank you
-
to get second band row values in Hierarchical Infragistics UltraWebGrid using c#Hai all I am using Hierarchical grid , i need to get bands[1] row value. How to get it?
-
need to move rows up or down in Ultraweb gridFor example if I select the third row of the grid and on clicking the up arrow the third row should move to the second row and the data in the second row should move to the third. thank you
-
need to move rows up or down in Ultraweb gridHai all i need to move row move rows up or down within the Ultraweb grid on the client side.can any one help me i am using infragistics 2009 vol.2 Thanks.
-
Disable the Maximize button in WPFHi In design u set the code like ResizeMode="CanMinimize"