ASP .NET/Telerik/C# question

Posted on 2012-08-29
Last Modified: 2012-08-30
I am new to web development and I am attempting to use a radGrid from Telerik, and I am having trouble passing a parameter in the URL of the Telerik:Hyperlink control that I am using in my radGrid control. I was wondering g if someone knew how to do this and could help me passes a parameter through the URL so that it can be used by another page on the site. Any help would be greatly appreciated.
Question by:thenthorn1010

    Expert Comment

    Hi, Passing the parameter in the URL is a common thing. Even it's telerik hyperlink it should be working in the same way. But telerik uses Ajax to the maximum extent. Where as if it's working fine with normal hyperlink and it's not working for telrik hyper link then you need to recheck it  again. As  we know Ajax uses the java script at this point I leave the option for you.
    Here is a link for you're reference. If you need a perfect solution be specific about you're issue.
    LVL 16

    Accepted Solution

    To pass parameter in url in telerik radgrid you can use following code:

    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
            <MasterTableView DataKeyNames="Files">
                    <telerik:GridHyperLinkColumn HeaderText="File name"
                        DataTextField="Files" DataNavigateUrlFields="Files" DataNavigateUrlFormatString="http://somepage.aspx?qs={0}">
                        <HeaderStyle Width="170px"></HeaderStyle>

    Open in new window

    Noteworthy Points:
    1. DataTextField is the name of the column in database from which value would be picked.
    2. DataNavigateUrlFormatString="http://somepage.aspx?qs={0}" - Here {0} represents the position where DataTextField value would be placed.

    Hope it helps you to understand.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now