HTML control
-
Hello I have this code: Whatever.Attributes.Add("Page_Load", "parent.frames('main2').location.href='EmployeeList.aspx?" +inLogUs + "'"); Whatever is the Id of the body section of the HTML but for reasons, I do not know why it cannot be recognised in the C# code. It says the name space whatever could not be found. Can someone help me with this? I am making sure that I send variables that that page as well as setting the target frame...
-
Hello I have this code: Whatever.Attributes.Add("Page_Load", "parent.frames('main2').location.href='EmployeeList.aspx?" +inLogUs + "'"); Whatever is the Id of the body section of the HTML but for reasons, I do not know why it cannot be recognised in the C# code. It says the name space whatever could not be found. Can someone help me with this? I am making sure that I send variables that that page as well as setting the target frame...
As the body is not inside the form, it's not declared automatically in codebehind. You have to declare it to access it:
protected HtmlGenrericControl Whatever;
There is however no attribute named "Page_Load" in the body element. What are you trying to accomplish? --- b { font-weight: normal; } -
As the body is not inside the form, it's not declared automatically in codebehind. You have to declare it to access it:
protected HtmlGenrericControl Whatever;
There is however no attribute named "Page_Load" in the body element. What are you trying to accomplish? --- b { font-weight: normal; } -
As the body is not inside the form, it's not declared automatically in codebehind. You have to declare it to access it:
protected HtmlGenrericControl Whatever;
There is however no attribute named "Page_Load" in the body element. What are you trying to accomplish? --- b { font-weight: normal; }Hello, I tried ur suggestion but it doesn't go to the requested page. D whatever had been declared just like u suggested. and my question is that , do I still need to define it also in the HTML section? because that is how it is right now and it is not working
-
Hello, I tried ur suggestion but it doesn't go to the requested page. D whatever had been declared just like u suggested. and my question is that , do I still need to define it also in the HTML section? because that is how it is right now and it is not working