Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
65 views
hi

i have a question and need an answer asap

how can i rebind a datagrid which declared inside a web usercontrol on radwindow close?

thanks in advance

regards
webster

Webster Velasco
Top achievements
Rank 2
 answered on 21 May 2010
1 answer
68 views
Is it possible to have selected ListBox items written to 1 column in a table?  I have a Listbox that contains staff whenever a staff member is moved to the associated Listbox I would like to write all names that are in the selected listbox to 1 column in a table. 

Thanks in advance

Shinu
Top achievements
Rank 2
 answered on 21 May 2010
1 answer
77 views
Hi I am using the Rad Panel item in my default.aspx page i put some control inside the rad panel bar i am unable to find out the controls ids in default.aspx.cs page. Please let me know how i can find the my control ids.

Thanks

Shinu
Top achievements
Rank 2
 answered on 21 May 2010
1 answer
115 views
Hi, we have impliment the rad grid with custome css all setting are working except the setting the header background image, one strange thing is happing that the same piece of code is working in my localhost but the same code of piece is not working the the Deployment env. We are using the code piece and use the property EnableEmbeddedSkins="false" for the grid. i am attaching the image file.

.RadGrid_Office2007

 

.rgHeader,

 

 

.RadGrid_Office2007

 

th.rgResizeCol

 

 

{

 

border:solid #5d8cc9;

 

 

 

border-width:0 0 0 0;

 

 

 

background:0 -1900px repeat-x url('/Images/Telerik/Office2007/Grid/sprite.gif');

 

}

 



Thanks,
Sanjeev
Dimo
Telerik team
 answered on 21 May 2010
1 answer
175 views

Hi.

I want to know if exist a simple way to add a custom check box field to a RadScheduler in the creating/editing form.
I know the option to use an Advanced Template, but I only want to add a checkbox and use the rest of the standard mechanism to create/edit Appointment, using "custom field" an "resources".

Finally that I want is have a check box to decide if show or hide the "More Details"  area, where I have resource's combos and custom field's texbox.
In other words I want to have the same way of works taht exist to show/hide the recurrence area, but with the "More Details" area.

Is posible to doit in a simple way? How can I do it?

Thanks

Regards

Daniel

T. Tsonev
Telerik team
 answered on 21 May 2010
1 answer
88 views
Hi there, I have a little problem with my website. I integrated a RadMenu from Telerik to create an easy to use horizontal dropdown menu. However, when I hover on one of the parent Items and the menu folds open, the webpage itselfs get's an enormous amount of height. Creating a giant scroll distance on my main scrollbar. As soon as the submenu closed the height returns to normal. I tried to take a look at it with a dev toolbar. I think its the div with the class "Slider" that causes this. My dev toolbar says  that when opened up, this div has a height of over 13000 px!

I included some screenshots so you can see what I mean.

http://www.co-co.nl/proeftuin/screenshots/scrn_1.jpg
http://www.co-co.nl/proeftuin/screenshots/scrn_2.jpg




http://www.co-co.nl/proeftuin/screenshots/scrn_1.jpg

Does anyone have of had this issue as well?

Greeting,

Donny de Vries
Yana
Telerik team
 answered on 21 May 2010
1 answer
163 views
Hi,

I created this simple RadEditor through code behind, set ToolBar through ToolsDefault.xml and set an external CSS files for styles to appear in "Apply Css Class" drop-down. But they don't appear in the drop down. It works when i create an editor in ".aspx" page. but with code behind the drop-down is empty.

 RadEditor htmlEditor = new RadEditor();  
 htmlEditor.ExternalDialogsPath = "~/EditorDialogs/";  
 htmlEditor.ToolsFile = "~/EditorDialogs/ToolsDefault.xml";  
 htmlEditor.CssFiles.Add("~/EditorDialogs/Test.css");  
 this.form1.Controls.Add(htmlEditor);  

Could you please help! I need to load styles from an external file and i am stuck.

thanks.
Dobromir
Telerik team
 answered on 21 May 2010
1 answer
114 views
I have a dropdown that dictates the color pallet. It will either be default or only black. I am trying to reset the color pallet. How can I do this on the javascript side?

I have tried
function resetInkColor() {  
    var colorPicker = $find('<%= rcpInkColor.ClientID%>');  
    colorPicker.set_preset="Default";
    colorPicker.set_preset("Default");  

I get the error of "Object doesn't support this property or method. What is the correct syntax?
Tsvetie
Telerik team
 answered on 21 May 2010
9 answers
682 views
Hi

I'm trying to use this example to have a treeview inside a combobox, all inside a grid template.

http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/treeviewcombobox/defaultcs.aspx?product=treeview

From the example this code is used to get the conmobox:
            function nodeClicking(sender, args)  
            {  
                var comboBox = $find("<%= RadComboBox1.ClientID %>");  
 
                var node = args.get_node()  
 
                comboBox.set_text(node.get_text());  
 
                comboBox.trackChanges();  
                comboBox.get_items().getItem(0).set_value(node.get_text());  
                comboBox.commitChanges();  
 
                comboBox.hideDropDown();  
            } 

My problem is how do I get set the comboBox var with my set up.

This is also all in a Masterpage that add another layer of complexity.

To recap - I have Masterpage | Rag Grid | Edit Template | RadCombo box | RadTreeView.

Can anyone offer any help?

Andy
Andy Green
Top achievements
Rank 1
 answered on 21 May 2010
2 answers
82 views
Hi

I have an EditFormTemplate and in the FormTemplate I have 2 dropdowns (They are asp:dropdowns, not Rad ones) I can populate them with data from code behind but what I want to do is populate the second ddlist from a value from the first.

This is the first ddl markup

<

 

asp:DropDownList ID="ddlSite" runat="server" AutoPostBack="true" SelectedIndexChanged="UpdateLocation"></asp:DropDownList>

On ther server I get the UpdateLocation event

 

    Protected Sub UpdateLocation(ByVal sender As Object, ByVal e As System.EventArgs)  
 
 
        Dim ddlLocation As DropDownList = DirectCast(FindControl("ddlLocation"), DropDownList)  
        Dim mw As New CoreData  
        Dim mw_dt As DataTable = mw.LocationByParent(sender.selectedvalue)  
        If mw_dt.Rows.Count > 0 Then  
            With ddlLocation  
                .Items.Add(New ListItem("", 0))  
                .DataSource = mw_dt 
                .DataValueField = "LocationId" 
                .DataTextField = "LocationName" 
            End With  
        End If  
 
    End Sub 
The problem is that the value for the second dropdownlist is always nothingm the findcontrol is failing.

I have also tried the following to find the control:

 

Dim editedItem As GridEditableItem = CType(CType(sender, DropDownList).NamingContainer, GridEditableItem)

 

 

Dim ddlLocationt As DropDownList = CType(editedItem("ddlLocation").Controls(0), DropDownList)

 

 

How do I get a handle on the second DropdownList?

Andy

 

 

Andy Green
Top achievements
Rank 1
 answered on 21 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?