Telerik Forums
Community Forums Forum
2 answers
215 views
Could it be possible ever?
Sean Clifford
Top achievements
Rank 1
 answered on 23 Apr 2007
2 answers
140 views
it's the 23 now but I can't find any downloadlink for the long awaited 20007 Q1 ;)
Per Holmqvist
Top achievements
Rank 2
 answered on 23 Apr 2007
2 answers
60 views
... skipped the gym, rushed in to work to get a head's up on the new stuff. Nothing. Gutted.

8-)

--
Stuart (Off to buy breakfast instead)
Dan
Top achievements
Rank 1
 answered on 23 Apr 2007
4 answers
201 views
I would like to voice my opinion for an ASP.NET Scheduling Component based on the requested feedback from the following post:
http://www.telerik.com/community/forums/thread/b311D-tbdhb.aspx

We are currently researching components for use in a custom developed company internal scheduling tool that will be used by multiple business units. Based on this we have come up with the feedback listed below.

Key Requirements
  • AJAX support
  • Robust client-side object model
  • Solid drag and drop support
  • Recurring tasks/appointments
  • Task/Appointment alerts
  • Style look and feel via CSS
  • Cross browser compatible (IE -- 6 & 7, Firefox -- PC & Mac)
  • Concise HTML markup
  • Not ViewState dependent.
  • Support for database storage a must (other storage types a nice to have)

Scenarios
  • Day, Week, Month views.
  • Ability to show tasks/appointments for multiple resources on the same view.
  • Drag tasks/appointments within a day and use drag to change start/end times.
  • Drag tasks/appointments between days.
  • Show multiple taks/appointments with varying colors.
  • Have tasks/appointments with multiple states (e.g. published - viewable by all and planned - viewable only by some).

NOTE: Since we are currently evaluating other controls we do have any real world experience with these, but here are some initial thoughts after looking at the following.

Other Controls
- WebPlanner by TMSSoftware
   - Lacks AJAX support (beta with ajax available 4/2007)
   - Have focused attention on being lightweight.
- WebSchedule by Infragistics
  - Extensible data provider model.
  - Runs with enableviewstate='false'.
  - Lacks drag and drop across days in a week or month view.
- WebSchedule by ComponentOne
  - Lacks drag and drop
  - Not sure it supports displaying multiple resource schedules at one time.
 
Please let me know if you would like additional information from me.

- Paige Cook

jonnyO
Top achievements
Rank 1
 answered on 22 Apr 2007
101 answers
1.9K+ views
Interested in what is hiding in the upcoming Telerik release? Curious what Telerik wanted to surprise you with on April 23rd?

Play the game to reveal what we have up our sleeve! Exchange your opinions on the upcoming release and unlock the secret!

Enigma Team
hacker
Top achievements
Rank 1
 answered on 19 Apr 2007
3 answers
111 views
Hello,

Does whole Telerik web site works with Firefox 2.0.0.3?
I'm asking because of when I try to open in FF it seems to be loading forever.

Regards,
Dmitriy Nagirnyak.
nagir
Top achievements
Rank 1
 answered on 18 Apr 2007
1 answer
229 views
I asked about the performance of radcontrols befor last week but I couldn't get the response.Any how I need fast suport about the performance,becouse we are working a big project on radcontrols.But the download time per page in average is 25-30 seconds.I don't know why it becomes too slow .May be we haven't understand the controls very well or  any other things.Especially in most case we are using radGrid,Radmenu,radEditor and radWindows .If there is any solution or way to minimize the download time for each page please say something about radcontrols.Especially in our country for the time being there is now good internet connection so the solution is we have to minimize the performance problem.Thanks
Mike
Top achievements
Rank 1
 answered on 15 Apr 2007
4 answers
207 views

Greetings,

I don't know where to post this, but I have following small problem with Telerik watch. I'm subscribed to Telerik watch (TW) using Outlook 2007 RSS subscription function. Since I subscribed, I get all feed entries with an 2007/01/01 Timestamp. I always have to check back TW online, cause I never now from which date a post is, especially older posts. And, I don't have this problem with other News feeds. Please can someone check back what the reason of this behavior is?
Thanks,
Joerg

Josef Rogovsky
Top achievements
Rank 2
 answered on 13 Apr 2007
0 answers
204 views
Hi,

when i m trying to edit its showing isineditmode should be true how to do tat here i pasted my code behind and aspx n help me where to change in my coding.

using System;

using System.Data;

using System.Configuration;

using System.Collections;

using System.Web;

using System.Web.Security;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Web.UI.WebControls.WebParts;

using System.Web.UI.HtmlControls;

using Telerik.WebControls;

using Masters;

public partial class Masters_UserMaster : System.Web.UI.Page

{

protected void Page_Load(object sender, EventArgs e)

{

//if (!IsPostBack)

//{

Masters.UserMaster um = new Masters.UserMaster();

ViewState["GridData"] = (DataTable)um.Fetch().Tables[0];

RadGrid1.DataSource = ViewState["GridData"];

um = null;

//}

//else

//{

// RadGrid1.DataSource = ViewState["GridData"];

//}

}

protected void RadGrid1_ItemUpdated(object source, GridUpdatedEventArgs e)

{

if (e.Exception != null)

{

e.KeepInEditMode = true;

e.ExceptionHandled = true;

}

}

protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)

{

Masters.UserMaster um = new Masters.UserMaster();

if (e.CommandName.ToString().Trim() == "insert")

{

TextBox txtFirstName = e.Item.FindControl("txtFirstName") as TextBox;

TextBox txtLastName = e.Item.FindControl("txtLastName") as TextBox;

TextBox txtNetworkID = e.Item.FindControl("txtNetworkID") as TextBox;

TextBox txtEmailID = e.Item.FindControl("txtEmailID") as TextBox;

DropDownList ddlSalute = e.Item.FindControl("ddlSalute") as DropDownList;

DropDownList ddlUserType = e.Item.FindControl("ddlUserType") as DropDownList;

 

if (txtFirstName != null) { um.prpFirstName = txtFirstName.Text.ToString().Trim(); }

if (txtLastName != null) { um.prpLastName = txtLastName.Text.ToString().Trim(); }

if (txtNetworkID != null) { um.prpNetworkID = txtNetworkID.Text.ToString().Trim(); }

if (txtEmailID != null) { um.prpEmailID = txtEmailID.Text.ToString().Trim(); }

if (ddlSalute != null) { um.prpSalute = ddlSalute.Text.ToString().Trim(); }

if (ddlUserType != null) { um.prpUserType = ddlUserType.Text.ToString().Trim(); }

um.prpCountryID = 1;

um.prpISPSR = true;

um.prpCreatedBy = "Upendra";

um.Save("i");

}

else if (e.CommandName.ToString().Trim() == "update")

{

try

{

TextBox txtFirstName = e.Item.FindControl("txtFirstName") as TextBox;

TextBox txtLastName = e.Item.FindControl("txtLastName") as TextBox;

TextBox txtNetworkID = e.Item.FindControl("txtNetworkID") as TextBox;

TextBox txtEmailID = e.Item.FindControl("txtEmailID") as TextBox;

DropDownList ddlSalute = e.Item.FindControl("ddlSalute") as DropDownList;

DropDownList ddlUserType = e.Item.FindControl("ddlUserType") as DropDownList;

if (txtFirstName != null) { um.prpFirstName = txtFirstName.Text.ToString().Trim(); }

if (txtLastName != null) { um.prpLastName = txtLastName.Text.ToString().Trim(); }

if (txtNetworkID != null) { um.prpNetworkID = txtNetworkID.Text.ToString().Trim(); }

if (txtEmailID != null) { um.prpEmailID = txtEmailID.Text.ToString().Trim(); }

if (ddlSalute != null) { um.prpSalute = ddlSalute.Text.ToString().Trim(); }

if (ddlUserType != null) { um.prpUserType = ddlUserType.Text.ToString().Trim(); }

//um.prpCountryID = 2;

//um.prpISPSR = false;

//um.prpModifiedBy = "Upen";

um.Save("u");

e.Canceled = true;

}

catch (Exception ex)

{

}

}

else if (e.CommandName.ToString().Trim() == "delete")

{

um.prpUserID = Int32.Parse(e.Item.Cells[5].Text);

string result = um.Delete();

}

if (e.CommandName == RadGrid.InitInsertCommandName)

{

e.Canceled = true;

//Prepare an IDictionary with the predefined values

System.Collections.Specialized.ListDictionary newValues = new System.Collections.Specialized.ListDictionary();

newValues["Salute"] = "Mr.";

//Insert the item and rebind

e.Item.OwnerTableView.InsertItem(newValues);

GridEditCommandColumn editColumn = (GridEditCommandColumn)RadGrid1.MasterTableView.GetColumn("EditCommandColumn");

editColumn.Visible = false;

}

else

{

GridEditCommandColumn editColumn = (GridEditCommandColumn)RadGrid1.MasterTableView.GetColumn("EditCommandColumn");

if (!editColumn.Visible)

editColumn.Visible = false;

}

}

protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e)

{

//Masters.UserMaster um = new Masters.UserMaster();

//ViewState["GridData"] = (DataTable)um.Fetch().Tables[0];

//RadGrid1.DataSource = ViewState["GridData"];

//um = null;

}

 

 

protected void Search_Click(object sender, EventArgs e)

{

Masters.UserMaster um = new Masters.UserMaster();

um.prpFirstName = txtCriteria.Text;

DataTable dtUser;

dtUser = (DataTable)um.Fetch().Tables[0];

if (dtUser.Rows.Count == 0)

{

Label1.Text = "Records Not Found";

}

else

{

RadGrid1.DataSource = dtUser;

RadGrid1.DataBind();

}

um = null;

}

protected void ClearSearch_Click(object sender, EventArgs e)

{

txtCriteria.Text = "";

Masters.UserMaster um = new Masters.UserMaster();

RadGrid1.DataSource = (DataTable)um.Fetch().Tables[0];

RadGrid1.DataBind();

um = null;

}

protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)

{

if (e.Item is GridEditableItem && e.Item.IsInEditMode)

{

}

}

protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)

{

if (e.Item is GridEditableItem && e.Item.IsInEditMode)

{

e.Canceled = true;

}

}

protected void RadGrid1_PreRender(object sender, EventArgs e)

{

foreach (GridItem item in RadGrid1.MasterTableView.Items)

{

if (item is GridDataItem && item.Edit)

{

item.Visible = false;

}

}

}

}



aspx


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserMaster.aspx.cs" Inherits="Masters_UserMaster" %>

<%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="radG" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

<title>Untitled Page</title>

</head>

<body>

<form id="form1" runat="server">

<div>

<table Width="99%" id="table" >

<tr>

<asp:Label ID="Label1" runat="server" Width="99%" EnableViewState="False" Font-Bold="True" ></asp:Label></tr>

<tr bgcolor=Azure>

<td >

User Masters</td>

</tr>

<tr bgcolor="#ebedd5">

<td > FirstName </td>

<td>

<asp:DropDownList ID="ddlsearch" runat="server" >

<asp:ListItem>FirstName</asp:ListItem>

</asp:DropDownList></td>

<td> Criteria </td>

<td>

<asp:TextBox ID="txtCriteria" runat="server" ></asp:TextBox>

</td>

<td bordercolordark="green">

<asp:LinkButton ID="Search" runat="server" CommandName="Search" OnClick="Search_Click" ><img style="border:0px" alt="" src="../RadControls/Grid/Img/zoom.png" /> Search</asp:LinkButton>

</td>

<td >

<asp:LinkButton ID="ClearSearch" runat="server" CommandName="ClearSearch" BorderColor=Black OnClick="ClearSearch_Click"><img style="border:0px" alt="" src="../RadControls/Grid/Img/refresh.png" /> Clear Search</asp:LinkButton>

</td>

</tr>

</table>

<radG:RadGrid ID="RadGrid1" Skin="Outlook" runat="server" CssClass="RadGrid" GridLines="None" AllowPaging="True"

PageSize="6" AllowSorting="True" Width="99%" AllowMultiRowSelection="true" AutoGenerateColumns="False" EnableAJAX="True" ShowStatusBar="true" AlternatingItemStyle-BackColor=LightGoldenrodYellow

AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" SelectedItemStyle-BackColor=AliceBlue

HorizontalAlign="NotSet" LoadingTemplateTransparency="50" EnableAJAXLoadingTemplate="true" OnNeedDataSource="RadGrid1_NeedDataSource" OnItemUpdated="RadGrid1_ItemUpdated" OnItemCommand="RadGrid1_ItemCommand" OnItemDataBound="RadGrid1_ItemDataBound" OnItemCreated="RadGrid1_ItemCreated" OnPreRender="RadGrid1_PreRender">

<PagerStyle Mode="Slider"></PagerStyle>

<ClientSettings>

<Selecting AllowRowSelect="true" />

</ClientSettings>

<MasterTableView CommandItemDisplay="Top" CommandItemStyle-HorizontalAlign=Right GridLines="None" DataKeyNames="UserID" AllowSorting="True" AllowFilteringByColumn="False">

<CommandItemTemplate>

<asp:LinkButton ID="LinkButton1" OnClientClick="javascript:return confirm('Delete all selected Records?')"

runat="server" CommandName="DeleteSelected"><img style="border:0px" alt="" src="../RadControls/Grid/Img/Delete.gif" /> Delete Selected Records</asp:LinkButton>

<asp:LinkButton ID="LinkButton4"

runat="server" CommandName="InitInsert"><img style="border:0px" alt="" src="../RadControls/Grid/Img/application_form_add.gif"/>Add New</asp:LinkButton>

</CommandItemTemplate>

<Columns>

<radG:GridEditCommandColumn UniqueName="EditCommandColumn" ButtonType="ImageButton" EditText="Edit Record" EditImageUrl="../RadControls/Grid/Img/application_edit.png" >

<ItemStyle CssClass="btnico edit" />

</radG:GridEditCommandColumn>

<radG:GridButtonColumn ButtonType="ImageButton" ImageUrl="../RadControls/Grid/Img/Delete.gif" AutoPostBackOnFilter=true

CommandName="delete" Text="Delete Record" ConfirmText="Are You Sure To Delete This Record?" UniqueName="column" >

</radG:GridButtonColumn>

<radG:GridBoundColumn DataField="UserID" HeaderText="ID" ReadOnly="True" SortExpression="UserID"

UniqueName="UserID" Visible="false">

<HeaderStyle Width="20px" ForeColor="Silver" />

<ItemStyle ForeColor="Silver" />

</radG:GridBoundColumn>

<radG:GridBoundColumn UniqueName="Salute" HeaderText="Salute" DataField="Salute">

</radG:GridBoundColumn>

<radG:GridBoundColumn UniqueName="FirstName" HeaderText="FirstName" DataField="FirstName">

</radG:GridBoundColumn>

<radG:GridBoundColumn UniqueName="LastName" HeaderText="LastName" DataField="LastName">

</radG:GridBoundColumn>

<radG:GridBoundColumn UniqueName="EmailID" HeaderText="EmailID" DataField="EmailID">

</radG:GridBoundColumn>

<radG:GridBoundColumn UniqueName="NetworkID" HeaderText="NetworkID" DataField="NetworkID">

</radG:GridBoundColumn>

<radG:GridBoundColumn UniqueName="UserType" HeaderText="UserType" DataField="UserType">

</radG:GridBoundColumn>

<radG:GridBoundColumn UniqueName="IsPSR" HeaderText="Is PSR" DataField="IsPSR" >

</radG:GridBoundColumn>

</Columns>

<EditFormSettings EditFormType="Template">

<EditColumn UniqueName="EditCommandColumn1">

</EditColumn>

<FormTemplate>

<table id="Table2" cellspacing="2" cellpadding="1" width="250" border="1" rules="none"

style="border-collapse: collapse">

<tr class="EditFormHeader">

<td colspan="2">

<b>User Details</b></td>

</tr>

<tr>

<td>

<table id="Table3" cellspacing="1" cellpadding="1" width="250" border="0" class="module">

<tr>

<td>

</td>

<td>

</td>

</tr>

 

<tr>

<td>Salute:</td>

<td>

<asp:DropDownList ID="ddlSalute" runat="server" SelectedValue='<%# Bind("Salute") %>'

DataSource='<%# (new string[] { "Dr.", "Mr.", "Mrs.", "Ms." }) %>' TabIndex="7">

</asp:DropDownList></td>

<td>First Name:</td>

<td>

<asp:TextBox ID="txtFirstName" runat="server" Text='<%# Bind( "FirstName" ) %>'>

</asp:TextBox></td>

<td>Last Name:</td>

<td>

<asp:TextBox ID="txtLastName" runat="server" Text='<%# Bind( "LastName" ) %>'>

</asp:TextBox></td>

</tr>

<tr>

<td>NetWorkID:</td>

<td colspan="3">

<asp:TextBox ID="txtNetworkID" runat="server" Text='<%# Bind( "NetworkID" ) %>'>

</asp:TextBox></td>

<td>EmailID:</td>

<td>

<asp:TextBox ID="txtEmailID" runat="server" Text='<%# Bind( "EmailID" ) %>'>

</asp:TextBox></td>

</tr>

<tr>

<td colspan=3>Is PSR:</td>

<td>

<!--<asp:RadioButton ID=rd1 GroupName=RadiooG runat=server Text=Yes />

<asp:RadioButton ID=rd2 GroupName=RadiooG runat=server Text=No />-->

<!--<asp:RadioButtonList ID=IsPsr DataTextField=IsPSR DataValueField='<%# Bind( "IsPSR" ) %>' runat=server TextAlign=Right RepeatColumns=2>

</asp:RadioButtonList>-->

<asp:RadioButtonList ID=IsPsr2 runat=server TextAlign=Right RepeatColumns=2 RepeatDirection =Horizontal>

</asp:RadioButtonList>

</td>

<td>UserType:</td>

<td>

<asp:DropDownList ID="ddlUserType" runat="server" DataValueField=UserType DataTextField= '<%# Bind( "UserType" ) %>' >

<asp:ListItem>Regional Admin</asp:ListItem>

<asp:ListItem>Country</asp:ListItem>

<asp:ListItem>Normal</asp:ListItem>

</asp:DropDownList>

</td>

</tr>

</table>

<tr>

<td align="right" colspan="2">

<asp:ImageButton ID=img1 CommandName='<%# (Container as GridItem).OwnerTableView.IsItemInserted ? "insert" : "update" %>' runat=server ImageUrl="~/RadControls/Grid/Img/tick.gif" />

<asp:LinkButton ID="LinkButton2" runat="server" Text="Save"

CommandName='<%# (Container as GridItem).OwnerTableView.IsItemInserted ? "insert" : "update" %>'></asp:LinkButton>

<asp:ImageButton ID=img2 CommandName="Cancel" runat=server ImageUrl="../RadControls/Grid/Img/Cancel.gif" />

<asp:LinkButton ID="LinkButton3" runat="server" Text="Cancel" CommandName="Cancel" > </asp:LinkButton></td>

</tr>

</table>

 

</FormTemplate>

</EditFormSettings>

<ExpandCollapseColumn Visible="False">

<HeaderStyle Width="19px" />

</ExpandCollapseColumn>

<RowIndicatorColumn Visible="False">

<HeaderStyle Width="20px" />

</RowIndicatorColumn>

</MasterTableView>

</radG:RadGrid>

</div>

</form>

</body>

</html>

Venki
Top achievements
Rank 1
 asked on 12 Apr 2007
3 answers
363 views
Hi,

I am using radgrid control when i am try to edit its showing Only items with IsInEditMode set to true can be updated ,but i am not getting this property anywhere in the grid plz help me
Venki
Top achievements
Rank 1
 answered on 12 Apr 2007
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?