I think so, anyway should be postback and call the Server Side function. Otherwise can not be called the server side function. AJAX is called partial postback and call the server function. So Main page is never refresh. I know like this. If you know that ow to do with other way, please share it to me. Thanks for best suggest. :)
YeHtut
Posts
-
How To Call C# Function From JavaScript -
how i can check wether a value is there or not in a stored procedureYes, can be write.
-
how i can check wether a value is there or not in a stored procedureIF @Value IS NULL -- print 'This is null value' ElSE -- print 'Some Value'
-
Problem in displaying a calendar control using JavaScript..Firstly you try to check your calendar z-index I try to check with you. your calendar can be override combo. Only panel problem should be same with last time I meet up problem. I think so that this is Calendar Issue. Last time I also think like that, I try to set with css. But it is not OK. Solution is here. Previously .net 1.1 is using like this. This is problem. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > Now .net 2.0 is solved ready of this problem. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> After migration from .net 1.1 to 2.0 is never changed of this. Anyway you can try to guess and fix. :)
-
How To Call C# Function From JavaScriptU try to do like this. This is written in code behind file. public void ServerSideFunction() { ... } This javascript is I was written in Aspx file. <script> <%ServerSideFunction();%> </script> I already test and work it.
-
How To Call C# Function From JavaScriptU try to do like this. This is written in code behind file. public void ServerSideFunction() { ... } This javascript is I was written in Aspx file. <script> <%ServerSideFunction;%> </script> I already test and work it.
-
Let me to help you [modified]Thanks.
-
How to hide Checkbox colum in gridviewIn GridView RowDataBound event, finding the this checkbox control and cb.Visible = false;
-
Locking a control in ASP.NetI understand that you want to do display only?? Dropdown box don't have a ready only property. So you canuse Enable property to false;
-
How to hide template column in gridviewThis is Hide for Design Time. <asp:TemplateField HeaderText="Header Text" visible="false"> ... </asp:TemplateField> If U want to hide column in design time. For example, you want to hide first column. GridViewName.Column[0].Visible = false;
-
How To Call C# Function From JavaScriptdocument.getElementbyID("IDName").Click() or FireEvent
-
DotNet ApplicationClick File Menu-> Open -> Web Site. Then Click The File System icon and Choose the your File Folder.
-
Trim command ?Actually Server.UrlEncode() and Server.URLDecode() is better. If u don't want to user like this. u try to replace your character "&" to %26 :) Ye Htut
-
Printing Paper SizeI have a report setup to generate in legal size. I export my report to PDF, and it looks fine on the screen. When I go to print it, the default is always shown in letter in the printer dialog. I have to manually change the paper size in the dialog box to "Legal". Once I do this, everything works fine. Is there a way to ensure that if I am attempting to print a legal size report that this dialog will default to legal? Ye Htut
-
refresh problemFirst way is U control duplicate data for DB level. Second way is U control the key event and take an action. As U like :)
-
Add/Delete RecordI would to suggest... 1) Take Count(*) From your table. 2) If record is greater than 0 then do delete action. 3) Finally U take insert action. Other way, 1) Never checking the record and take delete action. 2) Finally insert action. Anyway U can do as u like. Cheer. :)