Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
82 views
I have a Radcombo box with check boxes this is my markup:

 

<telerik:RadComboBox ID="ddlSpecialty" runat="server" AutoPostBack="true" AppendDataBoundItems="true" EnableEmbeddedSkins="false" Skin="Activity" Width="185px" Height="300px" emptyMessage="Click to change Specialties" >

 

 

 

<ItemTemplate>

 

 

<asp:CheckBox ID="chkSpecialty" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" AutoPostBack="true"></asp:CheckBox>

 

 

<asp:Label ID="lblSpecialty" runat="server" AssociatedControlID="chkSpecialty"><%#Eval("Specialty") %></asp:Label>

 

 

</ItemTemplate>

 

 

 

</telerik:RadComboBox>

 


What I can't do is this:

If one check box is selected then show that value in the radcombobox, but if more than one is selected then have the words 'Multiple Selected' be displayed.

Can anyone offer any help on this.

Andy
Dimitar Terziev
Telerik team
 answered on 08 Apr 2011
1 answer
67 views
hi

I have a listbox that list employee's name and i also have a scheduler.

What i want to achieve is to drag an employee name from the listbox to a scheduler and thus creates an appointment. Is this possible?

and how should i go about it if is possible? Thanks
Mira
Telerik team
 answered on 08 Apr 2011
0 answers
86 views
Hello Sir/ Ma'm

In our application we got manual grid, using contextmenu we are adding, deleting the rows.
But i'm not able to validate rows in javascript for same id of two rows or blank row.

Please help !!!

Regards
Sunil HK
Sunil
Top achievements
Rank 1
 asked on 08 Apr 2011
0 answers
70 views
hi telerik,
i am working with radgridview and come to face a strange problem with binding. as i know that the default binding mode is 'one way' and if we want to 'two way' mode we have to explicitly specify it .but in my code which i am posting here,the Daat Element column is working in two way manner without specifying it, while checkbox chkIsActive and textblock txtCategory are requiring to mention mode two way otherwise they are not working well . if i try to provide mode 'two way' to the listbox itemsource and not to its child controls then still it behave like one way. please explian me , such behaviour of controls.  
<telerik:RadGridView Grid.Row="1" Grid.Column="0" x:Name="DECategoryMapping" CanUserReorderColumns="True" CanUserResizeColumns="True" CanUserSortColumns="True" AutoGenerateColumns="False" IsEnabled="True">
  
<telerik:RadGridView.Columns>
  
<telerik:GridViewDataColumn DataMemberBinding="{Binding Path=DENameList}" Header="Data Element"></telerik:GridViewDataColumn>
  
<telerik:GridViewDataColumn UniqueName="CategoryList" Header="Category List" DataMemberBinding="{ Binding Path=DElement.Category}">
  
<telerik:GridViewDataColumn.CellTemplate>
  
<DataTemplate>
  
<telerik:ListBox x:Name="lstCategory" ItemsSource="{Binding Path=Category}">
  
<telerik:ListBox.ItemTemplate>
  
<DataTemplate
  
<StackPanel Orientation="Horizontal">
  
<CheckBox x:Name="chkIsActive" IsChecked="{Binding Path=IsActive, Mode=TwoWay}"></CheckBox>
  
<TextBlock x:Name="txtCategory" Text="{Binding Path=CategoryName, Mode=TwoWay}"></TextBlock>
  
</StackPanel>
  
</DataTemplate>
  
</telerik:ListBox.ItemTemplate>
  
</telerik:ListBox>
  
</DataTemplate>
  
</telerik:GridViewDataColumn.CellTemplate>
  
</telerik:GridViewDataColumn>
  
</telerik:RadGridView.Columns>
  
</telerik:RadGridView>
sonam
Top achievements
Rank 1
 asked on 08 Apr 2011
2 answers
43 views

 

 

Hello I want to filter column in my grid with filtertempalte column including RadComboBox
the code look like this(i have already read the blogs and have seen the demos about filter template)

<
telerik:GridTemplateColumn DataField="Obraz" Visible="false" Resizable="false" UniqueName="TemplateColumn"

 

 

 

AllowFiltering="true">

 

 

 

<FilterTemplate>

 

 

 

<telerik:RadComboBox ID="ComboFilterBox" runat="server" AppendDataBoundItems="true" OnSelectedIndexChanged="FilterCombo_SelectedIndexChanged" DataTextField="Obraz" DataValueField="Obraz"

 

 

 

OnLoad="Combo_NeedDataSource" AutoPostBack="true">

 

 

 

<items>

 

 

 

<telerik:RadComboBoxItem />

 

 

 

</items>

 

 

 

</telerik:RadComboBox>

 

 

 

 

</FilterTemplate>

 

 

 

<ItemTemplate>

 

 

 

<asp:Image ID="Image1" runat="server" ImageUrl="<%# bind('Obraz') %>" ForeColor="White" />

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="170" />

 

 

 

<ItemStyle Width="170px" />

 

 

 

</telerik:GridTemplateColumn>

and then in Code-Behind I have placed the function

 

 

protected

 

 

void FilterCombo_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)

 

 

{

 

 

 

 

string filterExpression;

 

 

filterExpression =

 

 

"([Obraz] = '" + e.Value + "')";

 

 

RadGrid1.MasterTableView.FilterExpression = filterExpression;

 

RadGrid1.MasterTableView.Rebind();

 

}

and then when I change the values in combobox i get the error
 Sys.WebForms.PageRequestManagerServerErrorException: Expression expected
after Rebind.
Please help.

Tomasz
Top achievements
Rank 1
 answered on 08 Apr 2011
3 answers
159 views
Hellow

   I Want To Expand First Column Of Detail Tables  in hierarchy Grid On Form Load .












Thanks In Advance
Jayesh Goyani
Top achievements
Rank 2
 answered on 08 Apr 2011
1 answer
80 views

I'm using RadDockLayout control which has two zones (i.e. Zone1 and Zone2), each of which has RadDock with some content.

I want to be able to disable zone1 such that the RadDock in zone one cannot be dragged into or outside this zone, and RadDock in zone2 should not be dragged into zone since it's disabled.

I have tried to use Enabled property of RadDockZone but it does not seem to work.

How can disable a zone such that once data is displayed in the zone via RadDock cannot be manipulated by a user? Anybody??
Rumen
Telerik team
 answered on 08 Apr 2011
1 answer
67 views
hi all,

How to show confirm box when selecting treenode? I have some conditions to check before showing confirm.

thanks
benjamin
Princy
Top achievements
Rank 2
 answered on 08 Apr 2011
5 answers
937 views
Hi telerik,

  I was using telerik version Q3 2007 in my project. now we chenged this to Q3 2008.
i am using rowSelected()  function to get values from grid( client side).  like..

function RowClick(rowObject) // function to display details when click on Mr headers

 

{

 

document.getElementById("ctl00_PlaceHolderMain_inputPONumber").value = this.GetCellByColumnUniqueName (rowObject,"poNumber").innerText ;
}

after changing to Q3 2008 this code is not working. can you tel me instead of this which i can use.?

 

 

Princy
Top achievements
Rank 2
 answered on 08 Apr 2011
1 answer
52 views
hi telerik, all,

I have requirement of a control which shows year and month, not entire days for month. Do you have any suggestion to use which control for this? If not available, any way to accomplish same using available controls?


benjamin
Shinu
Top achievements
Rank 2
 answered on 08 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?