Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
97 views

I have a RadGrid ,placed in a usercontrol (ascx) which is dynamically loaded and added to a MutliPage at runtime on a tab is click event.

When I use the RadAjaxManagerProxy to Ajax the TabStrip and its Multipage, the Grid renders with no Skin / CSS applied. just a few labels and buttons.

This only happens when the MultiPage the control is added to, is not the first shown at PageLoad and the Grid has 

AllowFilteringByColumn

 

="True"

 



When not using the RadAjaxManagerProxy and / or AllowFilteringByColumn is False it renders fine.

It appears as though it is not downloading the CSS or having it applied when this value is set ??



Sebastian
Telerik team
 answered on 21 May 2009
0 answers
106 views
Hi,
i have an older version(2008) of telerik controls which i have used to buiild my old modules in DNN. bUT RECENTLY i upgraded to a newer version(2009) of dll and when i replace the dll i find none of my old modules are working now what should i do? Any help will be greatly appreciated

Thanks,
Nag.
Nagabbu
Top achievements
Rank 1
 asked on 21 May 2009
3 answers
104 views
Hi,
We have an html button on a page, which when pressed launches a RadWindow.  If the page containing the html button is not maximized when the button is pressed then only the bottom right corner of the RadWindow is shown in the top left corner of the parent - the top and left of the window are not able to be dragged onto the page - so the window is useless.  Unfortunately I cannot attach a picture, but I hope you understand what I mean.

If you maximize the parent window before opening the radwindow, the window opens in the centre and works as expected.

I have tried setting the window to centre, and setting the location with moveTo, but neither works.  Please advise how we can overcome this problem.

Thank you

Gillian

Code for the button and the script to create the RadWindow are below
HtmlInputButton partAddButton = new HtmlInputButton();  
 
partAddButton.ID = "uiPartAddButton";  
partAddButton.Value = "Add A Web Part";  
 
partAddButton.Attributes.Add("onclick", "openWin_" + this.UniqueID + "(); return false;");  
partAddButton.RenderControl(writer);  
 
StringBuilder script = new StringBuilder();  
 
script.Append("<script type=\"text/javascript\">");  
script.Append("function openWin_" + this.UniqueID + "() {");  
script.Append("var windowMan = GetRadWindowManager();");  
script.Append("var windowPane = windowMan.GetWindowByName('uiNewPartsWizard');");  
script.Append("windowPane.SetUrl('PortalWebPartCatalogPage.aspx?ControlID=" + this.UniqueID + "&ZoneId=" + this.currentZone.PortalPageZoneID.ToString() + "&Scope=" + this.WebPartManager.Personalization.Scope.ToString() + "');");  
                      
script.Append("windowPane.SetTitle('New Web Part Wizard');");  
 
script.Append("windowPane.setSize(1000,650);");  
script.Append("windowPane.Show();}");  
                                  
script.Append("</script>");  
 
Fiko
Telerik team
 answered on 21 May 2009
1 answer
189 views

Hi, all:

I got the "A critical error has occurred. Object reference not set to an instance of an object." error message, and this is b/c the e.NewObject within the LinqDataSource_Inserting event is null when I am inserting data.

The background of the problem:

I have two RadGrids. The top one contains contacts, and the bottom one contains one or more notes concerning a selected contact from the top grid. The user can create his own list of note subjects, from which he can choose only one when creating a new note. This list of subjects is bound to a dropdownlist with the markup below:

<asp:DropDownList ID="ddl_subjects" runat="server"

DataSourceID="LinqDS_Subjects" DataTextField="Subject"

DataValueField="SubjectId"

SelectedValue='<%# Bind("SubjectId") %>'

AppendDataBoundItems="True" >

<asp:ListItem Selected="True" Text="Select" Value=""></asp:ListItem>

</asp:DropDownList>

Every time when I create a new note, if I pick one of the bound values, the note inserts fine. But whenever I pick "Select", which has a value of null, to intentionally not assign a subject to the note, I get that error message. I spent hours debugging, but to no avail. So your help is greatly appreciated.

 Han

 

Tsvetoslav
Telerik team
 answered on 21 May 2009
1 answer
134 views
I have an app that uses many rad windows. Let say you click on the parent page to view employees. That will bring up a rad window with the employee info. Then I have a link to add new employee, that will bring up another rad window with an add new employee user control. When I am done typing my info in I then want to close the create new employee window and then show the employee window. I can't tell the window where to go because i might use create new employee somewhere else in the code. Right now i close add new employee window all of the windows close. Any solutions?
Georgi Tunev
Telerik team
 answered on 21 May 2009
1 answer
62 views
Just checking to see if anyone has had any luck binding the Grid to an SPDataSource in MOSS? Seems like in theory it should work, but didn't want to head down that path if it isn't doable.
Sebastian
Telerik team
 answered on 21 May 2009
2 answers
78 views
Hi, Telerik.
How can I change the text of buttons on a radsplitter to the language I want = Localization.
I wan to change something like this:

Dock: Fijar menu
Undock: Ocultar menu
Collapse: Cerrar

thanks a lot,
Daniel.
dany7487
Top achievements
Rank 1
 answered on 21 May 2009
2 answers
91 views
Hi,

I need to be able to change the frame duration of one ad. On some pages I need to be able to overide the <impressions> based selection of the ads and specify which advert should be shown first. I can do this with the initialitemindex, so this is fine. However I would also like to be able to force the first advert to have a greater frame duration than the other ads. Is this possible from server side load event?

Thanks,
Matt
Adam Hubble
Top achievements
Rank 1
 answered on 21 May 2009
3 answers
121 views
Hello Team,
in chart graphs,
the Bars, i have 4 columns in a table i need to show the 4 columns as a Bar Chart.
main concept is 1 bar should use the Data from 1 coulmn
and 2 bar should use the other column of the Table.

how can i bind the Bars to a particular column of A table.
Please let me know.
Thanks in Advance,

Sai Baba.
Velin
Telerik team
 answered on 21 May 2009
1 answer
128 views
Telerik.Web.UI.RadTabStrip with ID='RadTabStrip2' was unable to find embedded skin with name 'Gray'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.
Paul
Telerik team
 answered on 21 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?