sanfunnyguy09 Posted January 23, 2015 Report Posted January 23, 2015 Hi, I have a Gridview, In one of the columns i need a hyperlink which will redireect to anothe popup window with full massage. Query string try chesthe it s allowing only 2000 chars. But i need morethan that. How to post the full data to other page from Grid view column( which has hyperlink). Thank you v much for the help in advance...
puli_keka Posted January 23, 2015 Report Posted January 23, 2015 LTT for experts BTW you should not use http get and query string change to POST and send as request body
Katti_Ramdas Posted January 23, 2015 Report Posted January 23, 2015 Hi, I have a Gridview, In one of the columns i need a hyperlink which will redireect to anothe popup window with full massage. Query string try chesthe it s allowing only 2000 chars. But i need morethan that. How to post the full data to other page from Grid view column( which has hyperlink). Thank you v much for the help in advance... framework edi vadutunnaru.. 3.5 nundi querystring lenght pencharuga.. it should be no problem
Osama Bin Gandhi Posted January 23, 2015 Report Posted January 23, 2015 Text Session lo pettukochhu or <asp:HyperLinkField DataTextField="FullText" DataTextFormatString="View Text" NavigateUrl='<%# "~/Abstract.aspx?ft=" + System.Web.HttpUtility.UrlEncode(Eval("FullText").ToString() %>'Target="_blank" /> pop up string fullText = Request.QueryString["ft"];if (string.IsNullOrEmpty(fullText)){fullText = HttpUtility.UrlDecode(fullText);}
rajadraja Posted January 23, 2015 Report Posted January 23, 2015 Hi, I have a Gridview, In one of the columns i need a hyperlink which will redireect to anothe popup window with full massage. Query string try chesthe it s allowing only 2000 chars. But i need morethan that. How to post the full data to other page from Grid view column( which has hyperlink). Thank you v much for the help in advance... Using any framework ?? We can store in session or view bag by using keep and peek methods also.....
saradagakasepu Posted January 23, 2015 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
darojuv Posted January 23, 2015 Report Posted January 23, 2015 I would say write a javascript function that writes text on to cookie and opens new page. The new page should read the same cookie extract the text display on it..
sanfunnyguy09 Posted January 23, 2015 Author Report Posted January 23, 2015 Text Session lo pettukochhu or <asp:HyperLinkField DataTextField="FullText" DataTextFormatString="View Text" NavigateUrl='<%# "~/Abstract.aspx?ft=" + System.Web.HttpUtility.UrlEncode(Eval("FullText").ToString() %>'Target="_blank" /> pop up string fullText = Request.QueryString["ft"];if (string.IsNullOrEmpty(fullText)){fullText = HttpUtility.UrlDecode(fullText);} Intha chinnadaniki session vadocha ani.. doubht bayya Querystring aithe text chaala undi not wrking
sanfunnyguy09 Posted January 23, 2015 Author Report Posted January 23, 2015 I would say write a javascript function that writes text on to cookie and opens new page. The new page should read the same cookie extract the text display on it.. coockie ni js lo fill chetyala first??
sanfunnyguy09 Posted January 23, 2015 Author Report Posted January 23, 2015 Using any framework ?? We can store in session or view bag by using keep and peek methods also..... framewrk 4.5, vstudio 2010, Noramal web application
darojuv Posted January 23, 2015 Report Posted January 23, 2015 coockie ni js lo fill chetyala first?? 1. Write a javascript function that will be executed when user clicks on the link 2. the js function should first create a cookie with the desired text, and then open new page window 3. in new pop up page, write js function that read the cookie and populate some field
kajal Posted January 23, 2015 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
Recommended Posts