Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
111 views
I need some help for the scenario below:

I have a telerik grid with GridTemplateColumn. This GridTemplateColumn contains telerik combox called "radTravelType" in the EditItemTemplate. This combobox has 3 RadComboBoxItem which are "Taxi", "Car" and "Public Transport". When I select "car" option, a field called "Vehicle No." should be validated(cannot be empty). however this vehicle no. field is not a field within the grid. How can I achieve this?
Tsvetina
Telerik team
 answered on 08 Apr 2011
16 answers
1.1K+ views
hi
good evening telrick team how are you

we are trying all of my web based app using your rad controls

it is working everything fine in local iis without any problems

but after uploading into my web server we got the following error
and especially while trying to display rad scheduler using iframe concept part of our arctecture

please provide solution for this problem asap
because our project deliverery very soon

thanks to your team once again

syna-g team







Server Error in '/' Application.

Not enough permissions.
Inherit your page class from RadAjaxPage if you are running under Medium trust level.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Not enough permissions.
Inherit your page class from RadAjaxPage if you are running under Medium trust level.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: Not enough permissions.Inherit your page class from RadAjaxPage if you are running under Medium trust level.] Telerik.Web.UI.RadAjaxControl.AttachOnRender() +235 Telerik.Web.UI.RadAjaxControl.OnPagePreRenderComplete(Object sender, EventArgs e) +111 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2058052 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1566


Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
kalpesh
Top achievements
Rank 1
 answered on 08 Apr 2011
2 answers
94 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
100 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
126 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
82 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
48 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
169 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
90 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
81 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?