Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
117 views
Hi Telerik Guys

I am facing problem in grid column sorting. Please see given below:-


<

 

telerik:GridTemplateColumn HeaderText="Name" UniqueName="Name" SortExpression="FirstName,LastName">

 

 

<ItemTemplate>

 

 

<asp:Label ID="NameLabel" runat="server" Text='<%# Eval("FirstName") + " " + Eval("LastName") %>'></asp:Label>

 

 

</ItemTemplate>

 

 

<HeaderStyle Width="28%" Font-Names="Trebuchet MS" ForeColor="#3496b4" Font-Size="14px" />

 

 

</telerik:GridTemplateColumn>

 



When we click on the column Name it sorts only in Ascendind mode.

Please suggest a tip to resolve it.

Thanks in advance.
Pavlina
Telerik team
 answered on 25 Jan 2010
18 answers
254 views
We have a centralized document center site, plus a wiki site. We use the RadEditor in the wiki site. Is there a way to configure the RadEditor so that the Document Manager uploads files to the document center site instead of to the document library in the wiki site? We want to keep all documents in the document center, but users want to be able to upload and link to documents easily within the wiki, so we're hoping we can point the Document Manager to the document center site.

Thanks for any help. -Steve
Stanimir
Telerik team
 answered on 25 Jan 2010
3 answers
228 views
Hello,

I have an Ajaxified RadGrid with a nestedViewTemplate beneath the MasterTableView. On the nested template, there is a RadTabStrip with two tabs, each containing another RadGrid. The main grid and the nested grids all use cached datasets as their datasources, so they are configured with the NeedDataSource events.

I have a method which clears the cache and then calls the Rebind method of the main grid (thus undoing any changes the user made to the data), which repopulates the cache and binds it to the grid. The problem I am having is this: after the rebind method is called from this method, I cannot expand any rows in the master table view. When I click the 'Expand' button after calling this method, the IE status bar changes from 'Done' to 'Error on Page' only if one of the sub-grids had a row in edit mode prior to the rebind. The details of the error are:
Line: 6503
Char: 28
Error: Object required
Code: 0
URL: [aspx page url]

I have noticed that if I click any other itemCommands (edit/delete) after this error has occurred, the Grid causes a full postback and then I am able to expand the rows.

I have tried both setting the datasource to null or an empty object before rebinding, and looping through the grid items before rebinding and setting Edit=false or Expanded=false. Neither of these had any result.
Yavor
Telerik team
 answered on 25 Jan 2010
1 answer
113 views
I have a TreeView control where the child nodes have checkboxes, but all the parent nodes have Checkable set to False. Everything works perfectly in IE7, but in IE8, there is a problem with rendering the control. When you expand a TreeView parent node, the children nodes are visible, but their checkboxes are not visible. I happen to have a RadMenu control on the same page, and if I move the mouse around in the menu, all of the sudden, the checkboxes suddenly appear!

Any thoughts? Are there updates for the control to address IE8 compatibility issues?

Thanks for any help!
Kamen Bundev
Telerik team
 answered on 25 Jan 2010
2 answers
80 views
Hi all!
I am trying to use the ColumnEditor in a RadGrid, but the event InsertCommand Doesn't seem working.
I tryed to debug the application but it never fires.
Could you is there anything I forgot?

Thanks,

Dario
Dario Zanelli
Top achievements
Rank 1
 answered on 25 Jan 2010
3 answers
210 views

Hi,

I've a radgrid with paging enabled. I've the PagerStyle-Mode="NextPrevAndNumeric" PageSize="20" set in my ascx.
I select 50 from the page size combobox and all the items come up. But when I scroll down to the bottom of the page and I select one item from the bottom of the page, suddenly my page moves to the top of the screen and then I need to scroll all the way down to find my selected item.

Some event happens causing the page to jump back to the top of the screen.

Pls help with code.

If I need to do some javascript, pls show with code.

Pavlina
Telerik team
 answered on 25 Jan 2010
2 answers
99 views
hi.
i want to create the grid Dynamically like this.
here i attached the sample image.
can any one help me how to develop this.

Thank You.
Suresh K.
Suresh K
Top achievements
Rank 1
 answered on 25 Jan 2010
2 answers
110 views
hi.
i want to create the grid Dynamically like this.
here i attached the sample image.
can any one help me how to develop this.

Thank You.
Suresh K.
Suresh K
Top achievements
Rank 1
 answered on 25 Jan 2010
2 answers
125 views
I have a grid (see attached image) which has a number of columns that have a relationship to each other.

My question is how and where do I control the values shown in the combo boxes -- the data for each combo should be fetched from individual Stored Procedures, e.g.

DimensionAlias = just calls a stored procedure to get all the aliases
DimensionLevel = calls a stored procedure to get the Levels for the selected Dimension Alias
DimensionMember = calls a stored procedure to get the Members at the selected Level for the selected Alias
and so on...

Oh also the QueryChildLevel checkbox, should enable/disable the ChildLevel combo if it's checked/unchecked


I've looked at using the Grid_ItemDataBound handler, but this just allows me to initialise the combos at their initial state, however, if a user changes the DimensionAlias, then the DimensionLevel needs to be reset, and the values shown at the DimensionLevel combo should be reloaded from the Stored Procedure -- it's this i'm struggling to see how it can be achieved.

Thanks



Yavor
Telerik team
 answered on 25 Jan 2010
3 answers
173 views
Hello All,
               i have an aspx page with a RadMenu Control in it. I have another html file with an Iframe calling the aspx page. The Iframe has a height specified, Now when i Hover the menu the dynamic menus falls within the Iframe . I need to show this across the Iframe boundary. I tried with lot of z-index , not able to get a solution can somebody help me with this


Thanks in Advance

Thomson
thomson
Top achievements
Rank 1
 answered on 25 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?