Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
88 views
Hello,

I have a two Rad treeview one treeview have 5 root nodes and second treeview is blank means no nodes.
I have to perform like Drag node1 from Tree1 to Tree2.

But it just postback not adding into the second tree.

when I debug NodeDrop event then e.DestDragNode is nothing.

so please can any one have a solution.

Thanks in advance.

Nikolay Tsenkov
Telerik team
 answered on 03 Jun 2010
5 answers
133 views
Hi,

I have a problem with the treeview in ie8, there the border on top of a node is not shown. (See attached screenshots)

I'm using the version 2009.1.311.20, the newest will fix this problem, but this is no option to solve it with this, because it will breaks too many other things.

Does anyone has any idea how to solve this?
Yana
Telerik team
 answered on 03 Jun 2010
4 answers
388 views
Hello,

I want hide the column corresponding to the group.

For exemple, I have 3 column :

1    2    3
-------------
x    a    f
y    b    e
x    c    d

And i group by the first column :

1
    1    2    3
    -------------
x
    x    a    f
    x    c    d
y
    y    b    e

The first column is still visible, but not necessary,

is-it possible to hide this colomn, or i have to implements this feature ?
Gabriel Boulianne
Top achievements
Rank 1
 answered on 03 Jun 2010
1 answer
128 views
Hi All,
I have a problem. i have a rad grid in which i bound some fields and i also use template field.
I bind my grid using client side API. it words fine when my function returns data but when my function does not return any data i want to show empty grid with message that "There is no data to display."
my code for binding data is.

var data = [{Text: "Click Me"}];
     tableView = $find("<%= rgAddress.ClientID %>").get_masterTableView();        
     if (result != "")
     {
        tableView.set_dataSource(result[0].objStudentAddressCollection);
        tableView.dataBind();
     }
     else
     {
        tableView.set_dataSource(data);
        tableView.dataBind();
     }
Above code shows one row in grid along with template column. How can i show empty grid using client side api.??????
And i have also used "NoRecordsTemplate"

Any help please. its urgent.



Pavlina
Telerik team
 answered on 03 Jun 2010
6 answers
635 views
I have a RadGrid with an EditForm containing a RadComboBox.  The RadComboBox has a datasource set to a string[] (DataSource='<%# GetSampleValues() %>').  When creating and editing a record, the combobox displays the correct strings in the dropdown list.  When Editing an existing record, the selected string before expanding the combobox is not displaying the appropriate value.

<rad:RadComboBox ID="rcb_SampleValues" runat="server" AllowCustomText="false" 
   DataSource='<%# GetSampleValues() %>'  
   Text='<%# Bind("SampleValueString") %>' 
   Value='<%# Bind("SampleValueString") %>' 
   MaxLength="255"  
   Width="100" > 
</rad:RadComboBox> 


public enum SampleValues 
{ 
     SampleValue1, 
     SampleValue2 
}

public class Samples 
{ 
     public int ID { get; set; } 
     public string Name { get; set; } 
     public SampleValues SampleValue { get; set; } 
     public string SampleValueString { get; set; } 
}


public void Page_Load(object sender, EventArgs e)
{
BindGridData();
}

public void BindDataGrid()
{
Samples[] samples = GetObjectsFromDataAccessLayer()
radGrid.DataSource = samples;
}
public static string[] GetSampleValues() 
{ 
     return Enum.GetNames(typeof(SampleValues)); 
} 

I am binding the RadComboBox to an array of strings which are generated off of an Enum - but the same problem happens when I bind the RadCombobBox to a set of objects and set the DataTextMember and DataValueMember.  I have a sample application that I can send to someone that would like to see it.

Any ideas on what is not being done to make the comboBox NOT set to the intended value when the record is loaded?
kevin floyd
Top achievements
Rank 1
 answered on 03 Jun 2010
1 answer
90 views
Hello experts,

I am new to telrik controls. I have been struggling with this past few days now.

I have a master grid that shows lets say DEPARTMENTinformation.

Then I want to have a child grid that will list all the COURSES under that dept.

I want the courses to be drag and droppable within the same grid so that we can change the priority or the order of showing.

I have implemented a grid inside a grid and enabled drag and drop on the inside grid. Then I have tried to incorporate the code behind functionality to drag and drop but I cant get the OnNeedDatasource to work right on the child grid. Once I can do that, I may be able to something like this according to the drag and drop example :

        protected void grdPendingOrders_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
        {
            grdPendingOrders.DataSource = PendingOrders;
        }


I am not sure if I am going the right direction, so I am ready to try a different approach altogether... Please provide some directions...

Thanks.
Bobby.
Daniel
Telerik team
 answered on 03 Jun 2010
1 answer
93 views
HI,

Is there a way to use the validation functionality of the RadInputManager for the RadTextBox?


Regards
Ravi
mcamail2002@gmail.com



Tsvetina
Telerik team
 answered on 03 Jun 2010
1 answer
255 views

Hi,


<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

        </telerik:RadScriptManager>

 

<telerik:RadTextBox ID="txtName" runat="server">

                        </telerik:RadTextBox>

<telerik:RadInputManager ID="RadInputManager1" runat="server">

                                

                <telerik:TextBoxSetting BehaviorID="NameBehavior" EmptyMessage="Empty!"

                ErrorMessage="Error!" Validation-IsRequired="true"

                Validation-ValidationGroup="ValidationSummary1">

                    <TargetControls>

                        <telerik:TargetInput ControlID="txtName" />

                    </TargetControls>

                </telerik:TextBoxSetting>

  </telerik:RadInputManager>

<asp:Button ID="Button1" runat="server" ValidationGroup="ValidationSummary1" Text="Postback" class="qsfButton"></asp:Button>


Validation is not working.Could we use validation summay control to show message in popup.

Regards

Ravi

mcamail2002@gmail.com

Tsvetina
Telerik team
 answered on 03 Jun 2010
1 answer
116 views
Hi all,
Actual, I'm using RadAjax control Q3 2009, and I use RadUpload component for my DNN module (DNN version 5.0) to Upload file with validate file size before upload by set value for MaxFileSize property of RadUpload Component.

But I have problem, RadUpload work good with validate file size when upload on FireFox ( with localhost address and share web address), but It run not stable on IE8 (with localhost address, sometime it can validate, sometime it can't. With share web address it does not completely work.)

I had read a help article Uploading Large Files to config in Webconfig file, You can see below:

<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="2097151" requestLengthDiskThreshold="2097151" executionTimeout="3600000" />

but it also don't change. I don't know the reason why, because my Browser or because I don't know to config for RadUpload.

I'm using .NET FW 2.0, IIS 5.1. Everybody can help?, plz give me any idea for my problem....
Thanks so much.
Genady Sergeev
Telerik team
 answered on 03 Jun 2010
2 answers
83 views
Hello,

I am not able to collapse more than one group, if i try to collapse a second group, the first group expand.

How can i collapse more than one group ? Is-it a property ?

Thanks
Gabriel Boulianne
Top achievements
Rank 1
 answered on 03 Jun 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?