masterpage+js
-
hello sir i am using master page in webapplication. and i used c# language. i have one .js file. i want to use it in my application. i want to add form tag because i want to write this code
where i add form tag.bec i used masterpage. pls help me its really urgent. gayatri
Gayatri
-
hello sir i am using master page in webapplication. and i used c# language. i have one .js file. i want to use it in my application. i want to add form tag because i want to write this code
where i add form tag.bec i used masterpage. pls help me its really urgent. gayatri
Gayatri
-
hello sir i am using master page in webapplication. and i used c# language. i have one .js file. i want to use it in my application. i want to add form tag because i want to write this code
where i add form tag.bec i used masterpage. pls help me its really urgent. gayatri
Gayatri
-
where do you want the form tag? or are you asking where to put it? Normally it would go in your aspx page can you explain again
sir i want form tag in my webform. in that web form i used masterpage. so when i take form tag that time i gave error. so i ask you where i put it. when i put it in content.that time i have error. i want to use .js file. the code --- // JScript File function valForm() { if(!valid_required(document.form1.txtFirstName.value)) { alert("First name is required field.") return false } return true } this i want to use in my webform's html source code my code=----- <@> CodeFile="Client.aspx.cs" Inherits="Client" Title="Untitled Page" %>
this code i have run time error--A page can have only one server-side Form tag. so pls help me.
Gayatri
-
sir i want form tag in my webform. in that web form i used masterpage. so when i take form tag that time i gave error. so i ask you where i put it. when i put it in content.that time i have error. i want to use .js file. the code --- // JScript File function valForm() { if(!valid_required(document.form1.txtFirstName.value)) { alert("First name is required field.") return false } return true } this i want to use in my webform's html source code my code=----- <@> CodeFile="Client.aspx.cs" Inherits="Client" Title="Untitled Page" %>
this code i have run time error--A page can have only one server-side Form tag. so pls help me.
Gayatri
niki_nilu wrote:
this code i have run time error--A page can have only one server-side Form tag.
Master Page already has a form tag. you can use your javascript in head tag in master page.
please don't forget to vote on the post that helped you.
-
sir i want form tag in my webform. in that web form i used masterpage. so when i take form tag that time i gave error. so i ask you where i put it. when i put it in content.that time i have error. i want to use .js file. the code --- // JScript File function valForm() { if(!valid_required(document.form1.txtFirstName.value)) { alert("First name is required field.") return false } return true } this i want to use in my webform's html source code my code=----- <@> CodeFile="Client.aspx.cs" Inherits="Client" Title="Untitled Page" %>
this code i have run time error--A page can have only one server-side Form tag. so pls help me.
Gayatri
-
niki_nilu wrote:
this code i have run time error--A page can have only one server-side Form tag.
Master Page already has a form tag. you can use your javascript in head tag in master page.
please don't forget to vote on the post that helped you.
master page code <@> Chanakya
now error is Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Gayatri
-
master page code <@> Chanakya
now error is Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Gayatri
niki_nilu wrote:
nvalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Set EnableEventValidation="true in page directory regard kHan
please don't forget to vote on the post that helped you.