sanfunnyguy09 Posted January 23, 2015 Author Report Posted January 23, 2015 ante baa.. 3 pages undochu... andukani... thinking.. but will giv a shot and thanks for concern
sanfunnyguy09 Posted January 23, 2015 Author Report Posted January 23, 2015 Page1.aspx lo js <asp:TemplateField HeaderText="Log Message"> <ItemTemplate> <a href="#" onclick='openWindow("<%# Eval("LogMessage") %>");'>Log Message</a> </ItemTemplate> <ItemStyle HorizontalAlign="Center" /> </asp:TemplateField> dani related funcion function openWindow(LogMessage) { document.cookie = cname + "=" + LogMessage; alert(cname); window.open('page2.aspx'+"", 'open_window', ' width=640, height=480, left=200, top=200'); coming to page2.aspx.CS protected void Page_Load(object sender, EventArgs e) { lblMessage.Text = Request.Cookies["cname"].Value; } Ilaaaa try chesa... nothsng shows up..... :3D_Smiles:
saradagakasepu Posted January 23, 2015 Report Posted January 23, 2015 link meeda hover chesthe url em kanipisthundi?
darojuv Posted January 23, 2015 Report Posted January 23, 2015 Page1.aspx lo js <asp:TemplateField HeaderText="Log Message"> <ItemTemplate> <a href="#" onclick='openWindow("<%# Eval("LogMessage") %>");'>Log Message</a> </ItemTemplate> <ItemStyle HorizontalAlign="Center" /> </asp:TemplateField> dani related funcion function openWindow(LogMessage) { document.cookie = cname + "=" + LogMessage; alert(cname); window.open('page2.aspx'+"", 'open_window', ' width=640, height=480, left=200, top=200'); coming to page2.aspx.CS protected void Page_Load(object sender, EventArgs e) { lblMessage.Text = Request.Cookies["cname"].Value; } Ilaaaa try chesa... nothsng shows up..... :3D_Smiles: nothing shows up ? do you mean the existing page gone ? or new page opens up but shows nothing ? or you couldn't find cookie in page_load ?
sanfunnyguy09 Posted January 23, 2015 Author Report Posted January 23, 2015 nothing shows up ? do you mean the existing page gone ? or new page opens up but shows nothing ? or you couldn't find cookie in page_load ? url meeda click chesthe em avvatledu.. jus em clik cheyanatte naatakaladuthundi
sanfunnyguy09 Posted January 23, 2015 Author Report Posted January 23, 2015 link meeda hover chesthe url em kanipisthundi? pag1.aspx di kanipisthundi
saradagakasepu Posted January 23, 2015 Report Posted January 23, 2015 pag1.aspx di kanipisthundi page2.aspx undali kada...page1 enduku chupisthundi? data thappu ga bind chesavemo
darojuv Posted January 23, 2015 Report Posted January 23, 2015 Use something like this <ItemTemplate> <a id="aID" language="javascript" onclick='openWindow("<%# Eval("LogMessage") %>");'href="#" value="abc"> </ItemTemplate>
sanfunnyguy09 Posted January 23, 2015 Author Report Posted January 23, 2015 querystring length thakkuva unchukuni...database nunchi data thechukuni popup lo chupinchuko....or session vaduko.. ledu querystring length penchalsinde anukunte web.config lo <system.web> section lo <httpRuntime maxReuestLength="xxxx" /> pettuko xxx place lo pedda number ivvu....something like 1048576 Already ee number 2097151 undi bayya chech chesa
darojuv Posted January 23, 2015 Report Posted January 23, 2015 Now try to debug and see if you can read cookie value.
gouthamsworld Posted January 23, 2015 Report Posted January 23, 2015 Do u just need to show the value as popup or any other functionality in popup?
gouthamsworld Posted January 23, 2015 Report Posted January 23, 2015 If u dont need any other functionality adding an extra page is not a good idea and oldschool . Let me know the full functionality i will give you the solution. PM me the details
sanfunnyguy09 Posted January 30, 2015 Author Report Posted January 30, 2015 Prob Solved.. anthaa theesukelli session lo padesa.. Thank you very much in perso to Tuluvaa, Vatsayana and Gouthamsworld for your concern and help !!! 1
Recommended Posts