Jump to content

.net Experts..need Help On Gridview


Recommended Posts

Posted

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...

Posted

LTT for experts

BTW you should not use http get and query string change to POST and send as request body

Posted

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

Posted

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);
}

Posted

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.....

Posted

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

Posted

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..

Posted

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

Posted

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??

Posted

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

Posted

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

Posted

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

 

×
×
  • Create New...