This is a migrated thread and some comments may be shown as answers.

Show "<<" and ">>" in grid filter

3 Answers 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Archana
Top achievements
Rank 1
Archana asked on 17 Aug 2011, 12:43 AM
Hello,

I have a grid which shows orders. If the order is archived then it it appends "<<Archived>>" at the start of order name.
E.g. if Order name is ABC it will be shown as <<Archived>> ABC.
Programmatically I append "&lt;&lt;Archived&gt;&gt;" at the start of it when it is archived and save it in db.
Now in my application after archiving I have to show this title at three places
1. In Grid : Which works fine. It shows it as "<<Archived>> ABC".
2. When I open my order in detailed view its title is shown in textbox; For showing it properly I use HttpUtility.HtmlDecode function.
3. I have a grid filter for each column. This column shows all the archived orders as "&lt;&lt;Archived&gt;&gt;OrderName".

What should I do to properly display it?

3 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 17 Aug 2011, 11:53 AM
Hi Archana,

I noticed that you have opened a duplicate post on the same matter. Please, refer to the other forum post for additional information. To avoid duplicate posts, I suggest you continue the communication there.

Regards,
Radoslav
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Archana
Top achievements
Rank 1
answered on 17 Aug 2011, 04:13 PM
Sorry for that. But I realised after a while that the post is related to Grid and Filters. And looked for Delete option but couldn't find any.
If you can provide one then would be of great help.
0
Radoslav
Telerik team
answered on 22 Aug 2011, 11:59 AM
Hello Archana,

Depending on your data binding type you have different approaches for deleting items into the RadGrid. If you use declarative data binding with data source control you could get advantage of automatic operations:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx
If you bind the RadGrid via NeedDataSource event you need manually to delete items into the RadGrid:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/programaticlinqupdates/defaultcs.aspx
Also the RadGrid supports Client-Side Inline Delete:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/clientdelete/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/grid/examples/client/insertupdatedelete/defaultcs.aspx
Additionally if you use hierarchical structure for your RadGrid and need to delete Detail Tables records you could check out the following example:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/threelevel/defaultcs.aspx

I hope this helps.

Greetings,
Radoslav
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Grid
Asked by
Archana
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Archana
Top achievements
Rank 1
Share this question
or