Click here to Skip to main content
15,903,842 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: file download problem Pin
adatapost26-May-09 21:06
adatapost26-May-09 21:06 
QuestionExtract Data from Resume Word file Pin
Member 356741126-May-09 19:49
Member 356741126-May-09 19:49 
AnswerRe: Extract Data from Resume Word file Pin
padmanabhan N26-May-09 20:31
padmanabhan N26-May-09 20:31 
AnswerRe: Extract Data from Resume Word file Pin
adatapost26-May-09 21:19
adatapost26-May-09 21:19 
QuestionSqlParameter and Generic array list Pin
rahul.net1126-May-09 19:41
rahul.net1126-May-09 19:41 
AnswerRe: SqlParameter and Generic array list Pin
Manas Bhardwaj26-May-09 20:53
professionalManas Bhardwaj26-May-09 20:53 
QuestionTool to assess asp.net 1.1 code changes due to database changes Pin
sthambir26-May-09 19:40
sthambir26-May-09 19:40 
QuestionRequest.QueryString problem.. Pin
RajpootRohan26-May-09 19:10
professionalRajpootRohan26-May-09 19:10 
I am stucked in to a problem. I am working on a shopping cart project. When a user selects an category from the menu, it showcases the subcategories related to that category. It is showcased like this:

first the image (in the image button control) then below it the name of the category (in the hyperlink control). Both are clickable. Now if the user further clicks on any of the sub category, the name and the category id is passed to the next page through query string. Suppose the name of the category is "Spirit Dispensers & Measures". When I am retrieving this through request.querystring, the problem arises i.e

ch_name = Request.QueryString["name"];

While debugging by using breaking point I found that the variable ch_name is showing only "Spirit Dispensers" and when I am checking the QueryString by mouseover it is showing like this "Spirit+Dispensers+&+Measures" .

But I want the full name in the variable as "Spirit Dispensers & Measures" . So please help me out. Its really urgent.

Waiting for your earliest response.

Actually I am passing it like this:
so how to do it in inline code.
<asp:ImageButton ID="ImageButton1" runat="server" Height="100px" Width="100px" ImageUrl='<%# Eval("cat_image") %>' PostBackUrl='<%# "SubCategory.aspx?name=" + DataBinder.Eval(Container.DataItem,"category_name")+ "&cat_id=" + DataBinder.Eval(Container.DataItem,"category_id")%>' /><br />
<asp:HyperLink ID="HyperLink1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"category_name") %>' NavigateUrl='<%# "SubCategory.aspx?name=" + DataBinder.Eval(Container.DataItem,"category_name")+ "&cat_id=" + DataBinder.Eval(Container.DataItem,"category_id")%>' Font-Underline="false" Font-Bold="true" Font-Names="verdana" Font-Size="Small" ForeColor="#336699" />


cheers,
sneha

AnswerRe: Request.QueryString problem.. Pin
padmanabhan N26-May-09 19:37
padmanabhan N26-May-09 19:37 
GeneralRe: Request.QueryString problem.. Pin
Baran M26-May-09 19:55
Baran M26-May-09 19:55 
QuestionGrid View Pin
rmaya26-May-09 18:40
rmaya26-May-09 18:40 
AnswerRe: Grid View Pin
Baran M26-May-09 20:00
Baran M26-May-09 20:00 
GeneralRe: Grid View Pin
rmaya26-May-09 20:12
rmaya26-May-09 20:12 
GeneralRe: Grid View Pin
Baran M26-May-09 20:34
Baran M26-May-09 20:34 
Questionsetting same Fonts for single line and multi line textbox Pin
sandhya1426-May-09 18:28
sandhya1426-May-09 18:28 
AnswerRe: setting same Fonts for single line and multi line textbox Pin
padmanabhan N26-May-09 19:27
padmanabhan N26-May-09 19:27 
GeneralRe: setting same Fonts for single line and multi line textbox Pin
sandhya1426-May-09 19:34
sandhya1426-May-09 19:34 
Questionpaly Flash Video Pin
jason_mf26-May-09 18:15
jason_mf26-May-09 18:15 
AnswerRe: paly Flash Video Pin
padmanabhan N26-May-09 18:42
padmanabhan N26-May-09 18:42 
GeneralRe: paly Flash Video Pin
jason_mf26-May-09 19:29
jason_mf26-May-09 19:29 
GeneralRe: paly Flash Video Pin
padmanabhan N26-May-09 19:41
padmanabhan N26-May-09 19:41 
GeneralRe: paly Flash Video Pin
Jain Vijay27-May-09 0:15
Jain Vijay27-May-09 0:15 
QuestionHow can i develope web applicatio on multilaguage? Pin
Niks775526-May-09 18:11
Niks775526-May-09 18:11 
AnswerRe: How can i develope web applicatio on multilaguage? Pin
padmanabhan N26-May-09 18:47
padmanabhan N26-May-09 18:47 
Questionhow to address the user session and the default session Pin
prasadbuddhika26-May-09 17:34
prasadbuddhika26-May-09 17:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.