problem in openning window [modified]
-
Sir, I want to open the page in new window for that i write the code in html file but it is occuring problem asp:LinkButton ID = "lb1" Runat =server On Click = "window.open('<%#DataBinder.Eval(Container.DataItem , "urllabel")%>')"> %#DataBinder.Eval(Container.DataItem , "titlelink")% /asp:LinkButton urllabel gives the path like http://localhost//abc.aspx and titlelink gives the text of link label. Please help me Thanks and regards Amaneet Brar -- modified at 8:43 Monday 22nd May, 2006
-
Sir, I want to open the page in new window for that i write the code in html file but it is occuring problem asp:LinkButton ID = "lb1" Runat =server On Click = "window.open('<%#DataBinder.Eval(Container.DataItem , "urllabel")%>')"> %#DataBinder.Eval(Container.DataItem , "titlelink")% /asp:LinkButton urllabel gives the path like http://localhost//abc.aspx and titlelink gives the text of link label. Please help me Thanks and regards Amaneet Brar -- modified at 8:43 Monday 22nd May, 2006
you need to open a new window with javascript function "window.open('http://www.google.com')"
-
you need to open a new window with javascript function "window.open('http://www.google.com')"
-
Sir, I want to open the page in new window for that i write the code in html file but it is occuring problem asp:LinkButton ID = "lb1" Runat =server On Click = "window.open('<%#DataBinder.Eval(Container.DataItem , "urllabel")%>')"> %#DataBinder.Eval(Container.DataItem , "titlelink")% /asp:LinkButton urllabel gives the path like http://localhost//abc.aspx and titlelink gives the text of link label. Please help me Thanks and regards Amaneet Brar -- modified at 8:43 Monday 22nd May, 2006
Is page opening in the same browser only... because i m using the same code what u have writen and it's working fine from my side. Here is code what i have written...
window.open(url,"Page","resizable=yes, location=no,directories=no left=80, top=100 height=450, width=500, status=yes, scrollbars=yes, titlebar=No" );
i hope this will help u. ;) Thanx & regards Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com -
Is page opening in the same browser only... because i m using the same code what u have writen and it's working fine from my side. Here is code what i have written...
window.open(url,"Page","resizable=yes, location=no,directories=no left=80, top=100 height=450, width=500, status=yes, scrollbars=yes, titlebar=No" );
i hope this will help u. ;) Thanx & regards Anuj Kamthan Software Developer Solversa Technologies, Pune - 411007, India. http://www.solversa.com -
Sir, can u send me a link to clarify more for openning in new window by onclick function oof linkbutton? Thanks and regards Amaneet Brar -- modified at 9:19 Monday 22nd May, 2006
Hi, Go through these links. They might help you. http://www.codersource.net/asp\_net\_client\_script\_interaction.aspx http://www.javascript-coder.com/window-popup/javascript-window-open.phtml Best Regards, Apurva Kaushal
-
Sir, can u send me a link to clarify more for openning in new window by onclick function oof linkbutton? Thanks and regards Amaneet Brar -- modified at 9:19 Monday 22nd May, 2006
http://www.gymcompare.com/GymCompare/ProductInfo.aspx?pid=29367 Follow the link and click on "Click image to Zoom" this is what i have done by the given code... Thanx Anuj
-
http://www.gymcompare.com/GymCompare/ProductInfo.aspx?pid=29367 Follow the link and click on "Click image to Zoom" this is what i have done by the given code... Thanx Anuj
I followed the link Server Error in '/' Application. Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [SqlException: Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query.] System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +742 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +195 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) PriceEngine.Logic.Referer.Add(String url) PriceEngine.GymCompare.PageBase.TrackReferer() PriceEngine.GymCompare.PageBase.OnInit(EventArgs e) PriceEngine.GymCompare.ProductInfo.OnInit(EventArgs e) System.Web.UI.Control.InitRecursive(Control namingContainer) +241 System.Web.UI.Page.ProcessRequestMain() +195 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
-
I followed the link Server Error in '/' Application. Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [SqlException: Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query.] System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +742 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +195 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) PriceEngine.Logic.Referer.Add(String url) PriceEngine.GymCompare.PageBase.TrackReferer() PriceEngine.GymCompare.PageBase.OnInit(EventArgs e) PriceEngine.GymCompare.ProductInfo.OnInit(EventArgs e) System.Web.UI.Control.InitRecursive(Control namingContainer) +241 System.Web.UI.Page.ProcessRequestMain() +195 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300