:
:
:
RadGrid RadGrid1 = new RadGrid();RadGrid1.DataSourceID = "SqlDataSource1";RadGrid1.MasterTableView.DataKeyNames = new string[] { "Jobnumber" };RadGrid1.Skin = "Default";RadGrid1.Width = Unit.Percentage(100);RadGrid1.PageSize = 5;RadGrid1.AllowPaging = true;RadGrid1.AllowSorting = true;RadGrid1.AutoGenerateColumns = false;RadGrid1.MasterTableView.PageSize = 15;RadGrid1.GridLines = GridLines.Both;RadGrid1.SelectedIndexChanged +=new EventHandler(RadGrid1_SelectedIndexChanged); // Not work Generates error
:
:
:
GridButtonColumn buttonColumn = new GridButtonColumn();
buttonColumn.HeaderText = "Select File";
buttonColumn.CommandName = "Select";
buttonColumn.ButtonType = GridButtonColumnType.PushButton;
buttonColumn.Text = "Go";
buttonColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center;
RadGrid1.MasterTableView.Columns.Add(buttonColumn);
:
:
:
:
protected void RadGrid1_SelectedIndexChanged(object source, GridCommandEventArgs e)
{
if (e.CommandName == "Select")
{
}
}
(MasterPage)
<tr:RadMenu ID="mnuNavRoot" runat="server" MaxDataBindDepth="1" Flow="Horizontal" DataSourceID="smdsNav" /> <asp:SiteMapDataSource ID="smdsNav" runat="server" ShowStartingNode="false" SiteMapProvider="AspNetSqlSiteMapProvider" /> (ASPX Page) <tr:RadTreeView ID="tvNaviMain" runat="server" ShowLineImages="false" DataSourceID ="smds1"> </tr:RadTreeView > <asp:SiteMapDataSource ID="smds1" runat="server" ShowStartingNode="false" SiteMapProvider="AspNetSqlSiteMapProvider" /> If root = true Then tvNaviMain.MaxDataBindDepth = 1 Else smds1.StartingNodeOffset = 1 End If
Any suggestions?
When i want to delete an instance of a recurring event, the fuction "theScheduler_AppointmentUpdate" will fired . My code is as bellow ,
void theScheduler_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e) { Appointment appointment = e.Appointment;
// People resizing
SPListItem li = GetListItem(appointment);
if (appointment.RecurrenceState == RecurrenceState.Master) { // This means somebody try to delete an instance of recurring event RecurrenceRule recRule; RecurrenceRule.TryParse(appointment.RecurrenceRule, out recRule); if (recRule != null && recRule.Exceptions.Count > 0) { // The last exception is the DateTime of the deleted appointment DateTime deletedDateTime = recRule.Exceptions[recRule.Exceptions.Count - 1]; CreateDeletedAppointment(deletedDateTime, appointment, li); } } }function CloseActiveToolTipAndOpenUrl(path) { setTimeout(function () { var tooltip = Telerik.Web.UI.RadToolTip.getCurrent(); if (tooltip) { tooltip. hide(); window.open(path, "mywindow", "status=1"); } }, 1000); }I’m building up a job site, and would like the visitor to upload their cv if they apply for one of the jobs. Data’s are stored to a SQL Server database, and upload is stored in a directory. All works fine if I run it locally inside Visual Studio. Once published it doesn’t run any more. Data’s can properly be stored if I comment out RadUpload, when I reactivate RadUpload functionalities noting is stored to the database, and the file is not uploaded. There is no error coming up just nothing happens. Is there a step by Step instruction what has to be installed or be activated server side in order to use RadUpload?
Some how I can’t find the cause of my problem.
Enviroment: Visual Studio 2010
Server: Win 2003
Please give me some hint where to start searching for the problem.
Thanks and regards
Andrea