<telerik:RadComboBox runat="server" ID="rcbIndustry" OnClientSelectedIndexChanged="OnClientSelectedIndexChanged" Skin="Black" Width="269" EnableEmbeddedSkins="false" /><span id="tmp"></span><telerik:RadTextBox runat="server" ID="rtbIndustryOther" Skin="Black" Width="250" EnableEmbeddedSkins="false" /><script> function OnClientSelectedIndexChanged(sender, eventArgs) { if (eventArgs.get_item().get_value() == 'Other') { $find("#<%= rtbIndustryOther.ClientID %>").set_visible(true); $("#tmp").html('<br>'); } else { $("#<%= rtbIndustryOther.ClientID %>").set_visible(false); $("#tmp").html(''); } } $find("#<%= rtbIndustryOther.ClientID %>").set_visible(false);</script><telerik:RadScriptBlock runat="server" ID="RadScriptBlock1" > <script type="text/javascript"> $(document).ready(function () { var addEditEventDialog = new CalendarAddEditEventObject(); }); </script></telerik:RadScriptBlock>[WebMethod]
public RadTreeNodeData[] WebServiceMethodName(RadTreeNodeData node, object context)
However, the nodes that I am populating the tree with depend on the security access of the user that is logged in to my application..
Is it possible to pass additional parameters to the webservice method? Or must I use a ServerSideCallBack method to populate the tree? I am hoping that I can still use the webservices functionality... I would like to pass a signature like this to my webservice method:
[WebMethod]
public RadTreeNodeData[] WebServiceMethodName(RadTreeNodeData node, object context, object userSession)
I look forward to your response. Thank you!
DataTable table = PageAccess.CountOfEnquiriesBetweenDates(startDate, endDate); var c = table.Rows.Count; RadChart radChart = new RadChart(); radChart.ChartTitle.TextBlock.Text = "Enquiries"; radChart.Skin = "DeepGray"; var chartSeries = new ChartSeries {Name = "Enquiries", Type = ChartSeriesType.Bar}; //It works when I just put in a value chartSeries.AddItem(c, "Enquiries");Hello,
Imagine two tables, each with two columns.
Operations UserId StartedBy
Users Id UserNameOperations.UserId is a FK to Users.Id. All columns are integers.
This works:
<telerik:GridDropDownColumn DataField="UserId" DataSourceID="UsersDataSource" HeaderText="UserId" ListTextField="UserName" ListValueField="Id" UniqueName="UserId"> </telerik:GridDropDownColumn>
This doesn't:
<telerik:GridDropDownColumn DataField="StartedBy" DataSourceID="UsersDataSource" HeaderText="Started By" ListTextField="UserName" ListValueField="Id" UniqueName="StartedBy"> </telerik:GridDropDownColumn>Here's the DataSource:
<asp:EntityDataSource ID="UsersDataSource" runat="server" ConnectionString="name=MyEntities" DefaultContainerName="MyEntities" EnableFlattening="False" EntitySetName="Users" EntityTypeFilter="User" OrderBy="it.[UserName]"> </asp:EntityDataSource>I know the UserId works because it is a foreign key but the second "StartedBy" is just a normal Int32 column in the Db that I have no control over (i.e. no relationship is or will be defined).
Normally, I'd just shrug and roll some code-behind but I'd much rather solve this in the declarative manner.
What is the simplest way I can get my StartedBy dropdown to bind via the value recorded in Operations.StartedBy?
Richard
hi all
i have a little problem with radlistbox, already i add items from a radcombobox, this function run correctly, but radlistbox accept repeated items, i want to know how i can validate with client side code if items on list do repeated before to add new item
thanks in advance for read this thread and for all answers
Regards!