[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
UserName
Operations.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!
<telerik:RadWindowManager ID="RWMan" runat="server">
<Windows>
<telerik:RadWindow ID="RWITaskView" runat="server" Width="400" Height="200" BorderColor="Blue"
DestroyOnClose="true" VisibleTitlebar="true" VisibleStatusbar="false"
NavigateUrl ="MemberITaskView.aspx"
VisibleOnPageLoad="false" AutoSize="true" AutoSizeBehaviors="Height, Width"
KeepInScreenBounds="false" Behaviors ="Close,Move"
EnableShadow="true" EnableEmbeddedSkins ="false">
</telerik:RadWindow >
<telerik:RadWindow ID="RWITaskEdit" runat="server" Width="400" Height ="200"
DestroyOnClose="true" VisibleTitlebar="true" VisibleStatusbar="false"
NavigateUrl ="MemberITaskEdit.aspx"
VisibleOnPageLoad="false" AutoSize="true" AutoSizeBehaviors="Height, Width"
KeepInScreenBounds="false" Behaviors ="Close,Move"
EnableShadow="true" EnableEmbeddedSkins ="false">
</telerik:RadWindow >
</Windows >
</telerik:RadWindowManager >
(e.Item.Cells[ViewPos].Controls[1]
as HyperLink).Attributes["onclick"] = "ShowITaskView('" + ky + "');" ;
In webpage script:
function ShowITaskView(id) {
var Wnd = radopen("MemberITaskView.aspx?itid=" + id, "RWITaskView" );
return false ;
}
PROBLEM:
1. On the first click on a hyperlink in the RadGrid control,
The autosize and everything works fine EXCEPT that the title bar and boundaries have opacity 0 somehow
2. On subsequent clicks on hyperlinks in same or other rows,
Autosize and everything does NOT work, AND the title bar and boundaries are normal.
See the two screen shots.
Any ideas?
Thanks.