Find Html Anchor Control In Telerik:radgrid ?

Sep 22, 2010

how to find html anchor control in telerik:radgrid ?

View 1 Replies


Similar Messages:

Web Forms :: Anchor / Not Able To Find Visible Property In Codebehind Since It Is A HTML Control?

Oct 1, 2010

I have a Sidemenu item in my ASP.NET application like below. There are two types of users in my application (Associates, Managers).When ever Associate Login then I have to disable Manager link. I am not able find visible property in codebehind since it is a HTML control. So need your support how to handle this

<ul>
<li><a href="Associate.aspx?val=Tests&index=0" id="lnkAssociates">Associate</a></li>
<li><a href="Manager.aspx id="lnkManager">Manager</a></li>
</ul>

View 2 Replies

Find Control In CommandItemTemplate For RadGrid?

Sep 9, 2010

I'm using RadGrid from Telerik with three LinkButton controls in CommandItem , and i want to hide or show them using switch statement at code behind.

<CommandItemTemplate>
<LinkButton runat="server" ID="approveAllLink" Text="Approve All" >
</LinkButton>
<LinkButton runat="server" ID="approveLink" Text="Approve" >
</LinkButton>
<LinkButton runat="server" ID="rejectLink" Text="Reject" >
</LinkButton>
</CommandItemTemplate>

View 2 Replies

Alternative To Telerik RadGrid?

Jan 14, 2011

Is anyone able to offer any decent alternatives to the telerik ASP.Net controls.

I'm in the market for a decent grid control with all singing all dancing extensions... bt I'm finding the telerik grid really hard work to deal with.

The telerik controls do look good, but after a day of hard work with them I'm just looking to see if there are any other 3rd party offerings?

View 3 Replies

Telerik RadGrid - How To Add A New Row From Code Behind

Feb 5, 2010

What's the simplest way to add a new row to a Telerik RadGrid in ASP.NET from code behind?

View 2 Replies

C# - Any Pointers To How To Use Telerik RADGrid In C Sharp

Mar 24, 2011

give me any pointers for free tutorial on RADGRID or give me a simple example on how to create a RADGRID and bind it to data source.

View 2 Replies

Finding Values In A Telerik Radgrid?

Nov 26, 2010

I've tried to find the answer, but am not having any luck and am wasting to much time trying to figure it out. Using RadGrid from Telerik, latest version of their Ajax Controls, I've added a Select to each row, and can't figure out how to get the value of the selected row. Prefer to get the value of the ID column (from ID field in my database) or other specific columns. C# or VB example will work, VB preferred.

View 2 Replies

How To Refresh Telerik:radgrid Contorl Using Javascript

Oct 5, 2010

How to refresh Telerik:radgrid contorl using Javascript ?

View 2 Replies

How To Remove Filter Button On Telerik RadGrid

Jan 14, 2011

I'm really new to asp.net and Telerik...

I have a RadGrid with filtering. I set AutoPostBackOnFilter="true" and CurrentFilterFunction="Contains" on my columns. Ok it works fine, user don't have to open drop-down list to select type of filter. But now, I want to hide filter buttons.

View 1 Replies

C# - Add Textbox To Telerik Radgrid Confirmation Dialog?

Dec 3, 2010

I need to collect additional information from the user when they initiate a delete on a radgrid. Right now I am presenting the user with a confirmation dialog box that lets them click "OK" to continue but I need to add an additional textbox to collect a reason.

View 1 Replies

C# - Telerik RadGrid - How To Set The MaxLength For The Insert Textbox

Jul 23, 2010

I have a radGrid on the page with the "Add New Record" button. When I click the "Add New Record" button, a textbox appears above each column that allows me to enter values. I want to limit the number of characters that can be entered in the textbox. How do I set the MaxLength of those textboxes

View 1 Replies

Set Telerik RadGrid To Edit Mode By Default?

Dec 7, 2010

I have a checkbox column in a RadGrid that I want the user to be able to check/uncheck it and set the attached property. When the grid renders however, the checkboxes are disabled, because the grid is not in "edit mode". All the examples I'm finding want me to go through a lengthy process of selecting the record, putting it into edit mode, changing the value, saving the value.... yada yada yada...I just want the whole grid to be in edit mode (or the column, or whatever works) from the get-go, so the end user can make a one-click change to the data value. I know there must be a way to do this, I just can't seem to find it.

View 1 Replies

Telerik RadGrid Doesn't Display On First Page_Load But Does On Postback

Mar 17, 2010

I have a page with a drop-down. Based on the selection in the drop-down, data gets loaded and populates a RadGrid. I am using a custom user control for the EditTemplate, so I can't use radGrid.DataBind(). Instead, I have to use radGrid.MasterTableView.Rebind() in association with a NeedDataSource event handler.

My problem is that when I load the page initially, I populate the drop-down and automatically select a value (first item in the list) which triggers the databinding on the RadGrid. I can step through the code in debug mode and see that the grid is being populated with data, but when the page displays, it doesn't get rendered. When I then manually choose an item from the drop-down, which triggers the same grid databinding code, it displays properly the second time.

How do I get it to display the grid the first time the page loads?

View 2 Replies

C# - Extra Column Appearing When Paging In Telerik RadGrid?

Oct 5, 2010

I'm getting a blank column when switching to another page using the default pager in the telerik radgrid. As data for each row, it shows the type of data i am using for the rows (SearchRecord)

Anyone have any clues as to why this may be happening? It doesn't show up on initial population of the grid, but only when I do paging. My columns are built dynamically but i confirmed that when my columns are built, they are the correct number.

View 1 Replies

Telerik Radgrid GridDataItem.DataItem Is Empty When Updating?

May 10, 2010

When handling the OnUpdateCommand event on a RadGrid the DataItem is null.

I thought that this would also represent the data item being represented by the row.

The Radgrid is populated from an IList and in the handler the code looks like this...

protected void rgAllocatedClients_UpdateCommand(object sender, GridCommandEventArgs e)
{
if (e.Item is GridDataItem)
{
var gridDataItem = e.Item as GridDataItem;
var client= gridDataItem .DataItem as Client;

This works find when handling the ItemDataBound event but not when handling the UpdateCommand event. I really need this as in my Client class is the Id of the row I want to handle the update for.

View 2 Replies

Telerik RadGrid Doesn't Seem To Export Grouped Data?

Jan 5, 2011

I've got a DNN application using Telerik RadGrid. We're exporting some data from the Grid but when we drill down on the grid control and export the data we only see the initial top level data, never the updated Grid. Here's my table tag and supporting code. I'm not an expert in ASPX/C#so please forgive my newbie-ness.

<mastertableview autogeneratecolumns="False" datakeynames="AccountId" datasourceid="SqlDataSource1"
groupsdefaultexpanded="False">
<DetailTables>

[code]...

View 1 Replies

Best Practice To Manage Telerik RadGrid Grid And Column Widths?

May 25, 2010

I wanted to ask what is the best practice to manage width of the radGrid.

For my application most users are running 1280 x 1024 so I would be happy to set my overall grid width to 1100. However, depending on the form in use, I sometimes have horizantal scroll bars. To solve this, I have been playing with the width of the grid, and also I have played with setting the itemstyle-width for one or two columns. Sometimes I accidentally get it right, and sometimes it is not quite right.

What is the best way to manage this? Do I set the grid, and then all columns, or just the grid, or just the columns? I guess there is a best practice, so just wondering how you handle it,

View 2 Replies

Using Telerik RadGrid - How To Set The Date Format For Autogenerated Column In Edit Mode

May 23, 2010

Using VS2008, and Telerik radGrid version 2010.1.519.35

I have a about 50 DNN modules using telerik radgrid and I need to display my dates in dd/mm/yy format. It is possible to do this easily in view mode, but when I switch to edit mode, it is more of a struggle. I can write a snippit of code to reformat the displayed date values to dd/mm/yy, but for inserts the user must enter mm/dd/yy.

IOW, I need to change the culture of the form to en-GB culture.

In my DotnetNuke App, I have made a change to the web.config, but it still assumes en-US format.

I am not sure whether I need to set this at web.config level, page level or at the column within the control.

View 3 Replies

How To Change The Data In Telerik's RadGrid Based On Calendar's Selected Dates

Feb 24, 2010

I was creating another usercontrol with Telerik's RadGrid and Calendar.

[code].....

The problems are, (1) when I click the submit button. the data in the RadGrid is not changed. (2) how can we check if there is nothing selected in the Calendar controls, because there is a date (01/01/0001) set even if we do not select anything from that calendar, thus Calendar1.SelectedDate != null is not enough.

View 1 Replies

.net Regex To Find Anchor Tags And Replace Their Url?

May 13, 2010

i'm trying to find all the anchor tags and appending the href value with a variable.
for example

<a href="/page.aspx">link</a> will become <a href="/page.aspx?id=2">
<A hRef='http://www.google.com'><img src='pic.jpg'></a> will become <A hRef='http://www.google.com?id=2'><img src='pic.jpg'></a>

I'm able to match all the anchor tags and href values using regex, then i manually replace the values using string.replace, however i dont think its the efficient way to do this.Is there a solution where i can use something like regex.replace(html,newurlvalue)

View 3 Replies

How To Find Which Anchor Has Been Clicked For Download In Destination Page With Out Using Query String

Dec 24, 2010

I am having a web form initially which have href as follows

<a href="downloadInfo.aspx">ACH File Management System Trail(msi)</a>
<a href="downloadInfo.aspx">ACH File Management System Trail(zip)</a>

These are my two anchor tags when i click on this i will redirect both to a same page where user has to fill details and a mail will be send to the user for the given mail id. When the user clicks on mail i would like to have the download for which he opted to download. If msi means i would like to prompt msi file to be downloaded and if zip it should be downloaded I need this to be worked with out using query-string

View 2 Replies

Find Control From Html To C#?

May 18, 2010

I have problem that how to get html control id in c# code behind page.?

View 2 Replies

How To Let Html Link (anchor) Do A Postback To Be Like LinkButton

Mar 19, 2010

I would like to ask how can i make an html anchor (a element) or even any object to do a postback or to execute an server side method?I want to create a custom button (a wrapped with some divs to do some custom them) and i want to implement OnClick to be look like the ASP.NET LinkButton?Like<a href="#" onclick="RunServerSideMethod()">Just a simple link button</a>

View 3 Replies

HyperLink's NavigateUrl Changes After Rendering In To HTML Anchor

Nov 17, 2010

I have a Master.aspx and a Page1.aspx and Page2.aspx, all in the same directory.

Master:

<asp:HyperLink NavigateUrl="Page1.aspx" runat="server" Text="Page 1" />
<asp:HyperLink NavigateUrl="Page2.aspx" runat="server" Text="Page 2" />

both the Page1 and Page2 gets rendered from above master page.

all three are in a vertual directory which is mapped as a subdomain here are the details:

Virtual Drectory: dirvir
Domain: dirvir.example.com

now when I open any of the page say:

http://dirvir.example.com/Page1.aspx

the Hyperlinks are rendered containing

href="../virdir/Page1.aspx"
href="../virdir/Page2.aspx"

respectively.

On click of them it takes me to

http://dirvir.example.com/dirvir/Page1.aspx
http://dirvir.example.com/dirvir/Page2.aspx

where as I wanted it to be

http://dirvir.example.com/Page1.aspx
http://dirvir.example.com/Page2.aspx

I can achive the same by using <a> but i need them on the code behind too so thats not desired.

Note: using <a> with runat server also behaves in the same way HyperLink does.

View 3 Replies

Set HREF Of HTML Anchor Tag From Server Side?

Aug 17, 2012

how i can bind <a href="?"> from database?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved