<LayoutTemplate>
<div
class="RadListView RadListView_<%#Container.Skin %>"> <LayoutTemplate>
<div
class="RadListView RadListView_Default"> <LayoutTemplate>
<div
class="RadListView RadListView_Sunset">
It works exactly as I want (but obviously won't work if we change the site's Skin).
I have implemented a portal page that allows users to position docks in three zones or float additional docks around the interface. This allows users with different screen resolutions to make use of their full screen and not be bound to our web portals sizing when having multiple docks on the screen.
To facilitate this I have written a script to ensure that users cannot move floating docks outside of the current screen bounds. However, the problem I am running into is losing docks when the browser window is resized. Tapping into a resize event handler for the browser is easy enough but I can’t find a command to cycle through all the open (or just floating) RadDocks to get their current positions so I can reposition them based on the screen resize.
Is there a command similar to cycling through a DockState in C for Java on the client side???
TIA
<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