Click here to Skip to main content
11,576,064 members (58,417 online)
   

ASP.NET

 
GeneralRe: Asp.net Web Applications Standards Pin
n.podbielski12-Nov-12 22:24
membern.podbielski12-Nov-12 22:24 
GeneralRe: Asp.net Web Applications Standards Pin
zead12-Nov-12 22:37
memberzead12-Nov-12 22:37 
QuestionHow to implement Geo Block Pin
silentspeaker12-Nov-12 19:40
membersilentspeaker12-Nov-12 19:40 
AnswerRe: How to implement Geo Block Pin
Sandeep Mewara13-Nov-12 21:35
mvpSandeep Mewara13-Nov-12 21:35 
Questionconnecting mysql work bench to asp.net Pin
destroyer8912-Nov-12 8:23
memberdestroyer8912-Nov-12 8:23 
AnswerRe: connecting mysql work bench to asp.net Pin
Sandeep Mewara13-Nov-12 21:38
mvpSandeep Mewara13-Nov-12 21:38 
QuestionHow to load an entire page in div? Pin
Ron_The_King11-Nov-12 6:03
memberRon_The_King11-Nov-12 6:03 
AnswerRe: How to load an entire page in div? Pin
babarijaz112-Nov-12 3:23
memberbabarijaz112-Nov-12 3:23 
AnswerRe: How to load an entire page in div? Pin
Sandeep Mewara13-Nov-12 21:43
mvpSandeep Mewara13-Nov-12 21:43 
Questionprinting not working in windows 2003 server from windows service Pin
msrmaddula10-Nov-12 23:41
membermsrmaddula10-Nov-12 23:41 
Questionasp.Net Pin
komara salla10-Nov-12 22:12
memberkomara salla10-Nov-12 22:12 
AnswerRe: asp.Net Pin
Senaid Maksumic11-Nov-12 7:44
memberSenaid Maksumic11-Nov-12 7:44 
AnswerRe: asp.Net Pin
Sandeep Mewara13-Nov-12 21:45
mvpSandeep Mewara13-Nov-12 21:45 
QuestionExecute javascript before page_Load Pin
jojoba201110-Nov-12 19:51
memberjojoba201110-Nov-12 19: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 Pin
jkirkerx10-Nov-12 19:55
memberjkirkerx10-Nov-12 19:55 
QuestionRe: Execute javascript before page_Load Pin
jojoba201110-Nov-12 20:04
memberjojoba201110-Nov-12 20:04 
AnswerRe: Execute javascript before page_Load Pin
xut244714-Nov-12 20:20
memberxut244714-Nov-12 20:20 
AnswerRe: Execute javascript before page_Load Pin
jkirkerx10-Nov-12 20:12
memberjkirkerx10-Nov-12 20:12 
QuestionRe: Execute javascript before page_Load Pin
jojoba201110-Nov-12 20:21
memberjojoba201110-Nov-12 20:21 
AnswerRe: Execute javascript before page_Load Pin
jkirkerx11-Nov-12 12:08
memberjkirkerx11-Nov-12 12:08 
QuestionRe: Execute javascript before page_Load Pin
jojoba201111-Nov-12 17:24
memberjojoba201111-Nov-12 17:24 
AnswerRe: Execute javascript before page_Load Pin
jkirkerx11-Nov-12 18:28
memberjkirkerx11-Nov-12 18:28 
QuestionLogin control doesn authenticate user after closing/changing database Pin
pier198910-Nov-12 10:02
memberpier198910-Nov-12 10:02 
AnswerRe: Login control doesn authenticate user after closing/changing database Pin
jkirkerx10-Nov-12 20:04
memberjkirkerx10-Nov-12 20:04 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
pier198910-Nov-12 22:11
memberpier198910-Nov-12 22:11 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
jkirkerx11-Nov-12 11:32
memberjkirkerx11-Nov-12 11:32 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
thes@int13-Nov-12 2:14
memberthes@int13-Nov-12 2:14 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
jkirkerx13-Nov-12 6:57
memberjkirkerx13-Nov-12 6:57 
QuestionIt takes too long to execute a query in aspx page Pin
Abdul Rahman Hamidy9-Nov-12 20:10
memberAbdul Rahman Hamidy9-Nov-12 20:10 
AnswerRe: It takes too long to execute a query in aspx page Pin
jkirkerx10-Nov-12 19:58
memberjkirkerx10-Nov-12 19:58 
GeneralRe: It takes too long to execute a query in aspx page Pin
David Mujica13-Nov-12 3:53
memberDavid Mujica13-Nov-12 3:53 
QuestionProblem with MapPageRoute Pin
jrahma9-Nov-12 8:50
memberjrahma9-Nov-12 8:50 
AnswerRe: Problem with MapPageRoute Pin
Marcus Kramer9-Nov-12 9:46
memberMarcus Kramer9-Nov-12 9:46 
GeneralRe: Problem with MapPageRoute Pin
jrahma9-Nov-12 9:50
memberjrahma9-Nov-12 9:50 
Question{36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pin
Member 95859818-Nov-12 23:55
memberMember 95859818-Nov-12 23:55 
AnswerRe: {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pin
jkirkerx10-Nov-12 20:09
memberjkirkerx10-Nov-12 20:09 
QuestionHi friends i want to create a web application Pin
VinothData8-Nov-12 23:52
memberVinothData8-Nov-12 23:52 
Questionlarger file uploading issue Pin
silentspeaker8-Nov-12 3:17
membersilentspeaker8-Nov-12 3:17 
QuestionUnable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
silentspeaker8-Nov-12 1:55
membersilentspeaker8-Nov-12 1:55 
AnswerRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
Richard Deeming8-Nov-12 2:26
memberRichard Deeming8-Nov-12 2:26 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
silentspeaker8-Nov-12 2:34
membersilentspeaker8-Nov-12 2:34 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
Richard Deeming8-Nov-12 2:44
memberRichard Deeming8-Nov-12 2:44 
QuestionWCF Pin
sandeep81467-Nov-12 22:42
membersandeep81467-Nov-12 22:42 
AnswerRe: WCF Pin
J4amieC7-Nov-12 22:44
memberJ4amieC7-Nov-12 22:44 
QuestionCould not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pin
arch067-Nov-12 19:47
memberarch067-Nov-12 19:47 
AnswerRe: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pin
shanalalkasim7-Nov-12 22:08
membershanalalkasim7-Nov-12 22:08 
AnswerRe: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. Pin
Sentenryu7-Nov-12 23:12
memberSentenryu7-Nov-12 23: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. Pin
helperofrinto7-Nov-12 18:11
memberhelperofrinto7-Nov-12 18: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. Pin
Sentenryu7-Nov-12 23:18
memberSentenryu7-Nov-12 23:18 
QuestionCompleteWizardStep not working Pin
pier19897-Nov-12 5:47
memberpier19897-Nov-12 5: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
Web03 | 2.8.150603.1 | Last Updated 3 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid