Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
103 views
hello all,
I have a problem that I can not fix.
I have a aspx page with a radtabstripeach tab loads a different UserControl.

menus call the same tab (and the same UserControl), but putting  different 
 value in session type operation. (insert, update, find,delete).

From masterpage get the value of the menu and set the session and call the tab.

The tab invoke the method SetFormatRadGrid (session ["tipooperazione"]. ToString ())

and I see the value of the session properly updated.
  but the RadGridthe screen is still shown as the first
(step back)


So the fisrt time it works, then the second time since the UserControl is already present in the viewstate on the client doesn't update.

while on the server (whith debugging) I see the correct values ​​in the code of the UserControl tab.

P.S.

if I add,in the ascx, override OnInit event and  invoke the radgrid.Rebind() method  it works... but this is not good solution.

Please
Help
 me 

Dimitar Terziev
Telerik team
 answered on 28 Nov 2011
1 answer
126 views
Is there a way I can set a css-class for a single menu-item based on the webpage url? (Maybe when the menu is generated?)
The menu is generated from a database.

Example:
If url = www.domain.com/page.aspx?id=1 then I would like menuitem "Menuitem1" to have a red font color. And if url = www.domain.com/page.aspx?id=2 then I would like menuitem "Menuitem2" to have a red font color.

Best regards,
Lars
 
Kate
Telerik team
 answered on 28 Nov 2011
12 answers
1.1K+ views
Hi, Telerik,
I'd used code at this link: http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/treeviewcombobox/defaultcs.aspx to create a ComboBox with TreeView inside. (Load Category Table from Database)
But I don't know how to set the default selected value for this RadComboBox when page was loaded.

Ex: Something like this:
Dim myRadComboBox As RadComboBox
myRadComboBox.Selectedvalue = "My Node ID"

Thanks for your support.
Mehrdad
Top achievements
Rank 1
 answered on 28 Nov 2011
1 answer
83 views
We are changing to cookieless session, so the URL has changed for each page with the new session id
<sessionState timeout="120" cookieless="true" regenerateExpiredSessionId="true"/>

Suddenly the second tabstrip is not displaying on our 2 pages with a second tabstrip. First/top strip seems okay.
But tracing through the load there is no activity on the 2nd tabstrip (does not hit preRender or dataBound)

I've seen posts that FindTabByUrl may need to use an additional function around the URL:
Response.ApplyAppPathModifier(Request.Url.PathAndQuery)

but I am not using FindTabByURL anywhere except there is a reference to it in the Telerik.ui.xml.
Could that be it? 

Has anybody else moved to cookieless and seen this disappearance ?
Dimitar Terziev
Telerik team
 answered on 28 Nov 2011
1 answer
91 views
Dear friends,

I have a tabstrip with two tabs. The two tabs are loading ascx too. I need to have the databinding in second tab to call as a last step after everything finishes.

Is there a way we can stipulate this?
Kate
Telerik team
 answered on 28 Nov 2011
3 answers
125 views
I have a RadGrid with a detail table in it. The detail table uses an objectdatasource which requires 2 parameters. The first parameter gets value from a HiddenField control outside of the grid, and the second parameter is the datakey of the master table of the RadGrid. This structure worked fine always, just found out it stopped working today. I haven't touched this page for ages so there shouldn't be any "new code" that broke this. I have upgraded my telerik controls from 2009 to Q1 2010 version recently. Is it possible that this upgrade caused the problem? Hope somebody has come crose similar issues, thanks.
Princy
Top achievements
Rank 2
 answered on 28 Nov 2011
2 answers
142 views
Hey,

Working on dynamically creating and filling RadGrids in the code rather than in the front-end for an ASP project using a VB backend. Got some really useful advice so far, but today I was trying to get a CommandItemTemplate working on a detail table, and I've encountered a rather large problem... whenever I click to expand the grid the whole grid just doesn't render. All I get is a thin line instead of the grid. It renders fine when I first load it, it renders fine when I try to add a new record, but on ExpandCollapse it just seemingly disappears.

I'm assuming that something is preventing the data from binding, or the radgrid from rendering, but I have no idea what it is. I had the same problem earlier on InitInsert and the way I got around it was to simply run the code to render the grid again from the beginning, and then it appeared with the ability to insert a new record. If I do the same thing with this however it appears again in it's non-expanded state.

Any help would be appreciated.
Pete
Top achievements
Rank 1
 answered on 28 Nov 2011
3 answers
199 views
I am trying to apply formatting to a pdf export using the RadGrid_ItemCreated event as described in:

http://www.telerik.com/help/aspnet/grid/grdexporttipstricks.html

Problem is that RadGrid_ItemCreated is always called before RadGrid_ItemCommand so setting a boolean value in RadGrid_ItemCommand to be used in RadGrid_ItemCreated doesn't work.

We are using the 2011 Q3 release.  I'm new to telerik controls so am probably missing something obvious.

Any ideas please.  Thanks.
Neil
Top achievements
Rank 1
 answered on 28 Nov 2011
1 answer
101 views
after collapsing a grouped part of radgid.

http://img191.imageshack.us/img191/8466/snap2011112723h55m07s00.png

P.S. Noticed the javascript variable names. a=b.id? Who are you? A market leading company? I used to have such variable names when I was 12... Shame.

Marin
Telerik team
 answered on 28 Nov 2011
1 answer
53 views
Hi,

I m using telerik:radpan to load the page. it is working in IE 7 & 8 but it is not working in IE 9. It shows a blank page instead of content. Kindly let me know a way to solve the problem.

Thanks in Advance.

Smart
Dobromir
Telerik team
 answered on 28 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?