i'm trying to append a bool variable zoom. zoom is set to true once the btnview is clicked. i did something but it's not working. can someone put me on the right path here.

<a id="btnview" class="btnview" data-href="<%=HttpContext.Current.Request.QueryString.Add("zoom",true) %>" style="margin:60px 0 0 0;">zoom</a>

some how it is not setting the zoom value to true.

Recommended Answers

All 2 Replies

Are you trying to add a query string to the current url, like this:



   protected void Button1_Click(object sender, EventArgs e)

yes....thank you....it's working perfectly now....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.