Click to get Flash Player
Get Adobe Flash player

or try to enable JavaScript and reload the page

Thursday 11 April 2013

Read HTML Control Value in CodeBehind

 First Of all Write Runat Server with html controls.

<input type="text" id="TextBox6" value="" style="visibility:hidden;" runat="server" />



And if you cannot write of edit value of textbox with javascript then Use Following code to change textbox





.

 document.getElementById('<%=TextBox6.ClientID %>').value = "Text";

If Jquery Code do not work after Postback. (Solution)

Then Add Same Jquery Ready Code in This block...

The code which exist in it will be available after postback .
But in Case of Jquery document ready, after postback it got lost.


function pageLoad(sender, args) {
        if (args.get_isPartialLoad()) {


Your Code;

}}