Click here to Skip to main content
   

ASP.NET

 
GeneralRe: Asp.net Web Applications Standards Pinmembern.podbielski12-Nov-12 23:24 
GeneralRe: Asp.net Web Applications Standards Pinmemberzead12-Nov-12 23:37 
QuestionHow to implement Geo Block Pinmembersilentspeaker12-Nov-12 20:40 
AnswerRe: How to implement Geo Block PinmvpSandeep Mewara13-Nov-12 22:35 
Questionconnecting mysql work bench to asp.net Pinmemberdestroyer8912-Nov-12 9:23 
AnswerRe: connecting mysql work bench to asp.net PinmvpSandeep Mewara13-Nov-12 22:38 
QuestionHow to load an entire page in div? PinmemberRon_The_King11-Nov-12 7:03 
AnswerRe: How to load an entire page in div? Pinmemberbabarijaz112-Nov-12 4:23 
AnswerRe: How to load an entire page in div? PinmvpSandeep Mewara13-Nov-12 22:43 
Questionprinting not working in windows 2003 server from windows service Pinmembermsrmaddula11-Nov-12 0:41 
Questionasp.Net Pinmemberkomara salla10-Nov-12 23:12 
AnswerRe: asp.Net PinmemberSenaid Maksumic11-Nov-12 8:44 
AnswerRe: asp.Net PinmvpSandeep Mewara13-Nov-12 22:45 
QuestionExecute javascript before page_Load Pinmemberjojoba201110-Nov-12 20:51 
Hi world,
My Code is :
I call this page from another Page :
 
<!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>
 
    <script type="text/javascript">
       
        function setinformation() {
 
            var oMyObject = window.dialogArguments;
            document.getElementById('<%=GridviewTypeT.ClientID%>').value = oMyObject.GridViewType;
        }
       
        
    </script>
 
</head>
<body  onload="setinformation();">
    <form id="form1" runat="server" >
    <div>
        <asp:HiddenField ID="GridviewTypeT" runat="server"  />
    </div>
    </form>
</body>
</html>
 

 
My Question is that how can i call function setinformation() before Page_Load so in Page Load i can have value in GridviewTypeT Something Like this :
 
protected void Page_Load(object sender, EventArgs e)
        {
                        
            if (GridviewTypeT.Value == "Ghata")
            {
 
            }
            else if (GridviewTypeT.Value == "Khadamat")
            {
 
            }
        }
 
But now it doesnt have any value and after Page_Load finish then it execute the function setinformation() and will get Value.
So i want the value befor Page_Load.
 
Thanks in advanced!
AnswerRe: Execute javascript before page_Load Pinmemberjkirkerx10-Nov-12 20:55 
QuestionRe: Execute javascript before page_Load Pinmemberjojoba201110-Nov-12 21:04 
AnswerRe: Execute javascript before page_Load Pinmemberxut244714-Nov-12 21:20 
AnswerRe: Execute javascript before page_Load Pinmemberjkirkerx10-Nov-12 21:12 
QuestionRe: Execute javascript before page_Load Pinmemberjojoba201110-Nov-12 21:21 
AnswerRe: Execute javascript before page_Load Pinmemberjkirkerx11-Nov-12 13:08 
QuestionRe: Execute javascript before page_Load Pinmemberjojoba201111-Nov-12 18:24 
AnswerRe: Execute javascript before page_Load Pinmemberjkirkerx11-Nov-12 19:28 
QuestionLogin control doesn authenticate user after closing/changing database Pinmemberpier198910-Nov-12 11:02 
AnswerRe: Login control doesn authenticate user after closing/changing database Pinmemberjkirkerx10-Nov-12 21:04 
GeneralRe: Login control doesn authenticate user after closing/changing database Pinmemberpier198910-Nov-12 23:11 
GeneralRe: Login control doesn authenticate user after closing/changing database Pinmemberjkirkerx11-Nov-12 12:32 
GeneralRe: Login control doesn authenticate user after closing/changing database Pinmemberthes@int13-Nov-12 3:14 
GeneralRe: Login control doesn authenticate user after closing/changing database Pinmemberjkirkerx13-Nov-12 7:57 
QuestionIt takes too long to execute a query in aspx page PinmemberAbdul Rahman Hamidy9-Nov-12 21:10 
AnswerRe: It takes too long to execute a query in aspx page Pinmemberjkirkerx10-Nov-12 20:58 
GeneralRe: It takes too long to execute a query in aspx page PinmemberDavid Mujica13-Nov-12 4:53 
QuestionProblem with MapPageRoute Pinmemberjrahma9-Nov-12 9:50 
AnswerRe: Problem with MapPageRoute PinmemberMarcus Kramer9-Nov-12 10:46 
GeneralRe: Problem with MapPageRoute Pinmemberjrahma9-Nov-12 10:50 
Question{36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. PinmemberMember 95859819-Nov-12 0:55 
AnswerRe: {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pinmemberjkirkerx10-Nov-12 21:09 
QuestionHi friends i want to create a web application PinmemberVinothData9-Nov-12 0:52 
Questionlarger file uploading issue Pinmembersilentspeaker8-Nov-12 4:17 
QuestionUnable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pinmembersilentspeaker8-Nov-12 2:55 
AnswerRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' PinmemberRichard Deeming8-Nov-12 3:26 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pinmembersilentspeaker8-Nov-12 3:34 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' PinmemberRichard Deeming8-Nov-12 3:44 
QuestionWCF Pinmembersandeep81467-Nov-12 23:42 
AnswerRe: WCF PinmemberJ4amieC7-Nov-12 23:44 
QuestionCould not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pinmemberarch067-Nov-12 20:47 
AnswerRe: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pinmembershanalalkasim7-Nov-12 23:08 
AnswerRe: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. PinmemberSentenryu8-Nov-12 0:12 
QuestionWant to close window.showModalDialog() popUp pressing ESC key but i've 100s of popUp. How can i change in a single place and all popup will close pressing ESC Key. Pinmemberhelperofrinto7-Nov-12 19:11 
AnswerRe: Want to close window.showModalDialog() popUp pressing ESC key but i've 100s of popUp. How can i change in a single place and all popup will close pressing ESC Key. PinmemberSentenryu8-Nov-12 0:18 
QuestionCompleteWizardStep not working Pinmemberpier19897-Nov-12 6:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150326.1 | Last Updated 27 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid