Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
101 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
103 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
176 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
61 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
69 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
88 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
110 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
126 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
3 answers
164 views
Hi Everyone,

I have been trying to accomplish something that should be rather simple.
I have a RadWindow with a treeview that allows users to select items by checking nodes .
When the RadWindow closes it is not destroyed so that next time they open the window the treeview does not need to reload but I want to uncheck all their previous selections.

I can manage to do this using the following script in the ASPX code:

var nodes = tree.get_checkedNodes();

 for (var i = 0; i < nodes.length; i++) {

 var node = nodes[i];

 node.set_checked(false);

 }

This script is called when either the OK or Cancel button is clicked, but if the user clicks the "X" this script is not run.

Also the rest of our application uses separate script files instead of embedding the javascript in the ASPX page.

I have tried adding a beforeonclose event handler but that appears to be too late in the cycle.

Please could someone suggest a way to accomplish this.


many thanks
Antony

Fiko
Telerik team
 answered on 21 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?