| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| <Scripts> |
| <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" |
| Name="Telerik.Web.UI.Common.Core.js" /> |
| <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" |
| Name="Telerik.Web.UI.Common.jQuery.js" /> |
| </Scripts> |
| </telerik:RadScriptManager> |
<telerik:RadGrid ID="RadGrid1" runat="server"
onitemcreated="RadGrid1_ItemDataBound">
<ClientSettings AllowColumnsReorder="True" AllowKeyboardNavigation="false"
ColumnsReorderMethod="Reorder" ReorderColumnsOnClient="True">
<Selecting AllowRowSelect="True" />
<Resizing AllowColumnResize="True" AllowRowResize="True" ClipCellContentOnResize="true" />
</ClientSettings>
<MasterTableView>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
</MasterTableView>
</telerik:RadGrid>
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
foreach (TableCell cell in e.Item.Cells)
{
cell.ToolTip = cell.Text;
}
}
}
Please suggest some solution.
Regards,
Sivarajan
protected void Page_Load(object sender, EventArgs e)
{
RadDatePicker1.SelectedDate = DateTime.Today;
}
as C#
ASPX
<telerik:RadDatePicker ID="DatePicker" DbSelectedDate='<%# Bind("DB_DATA") %>' Runat="server" Culture="Korean (Korea)" Skin="Default">
<Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x">
<SpecialDays>
<telerik:RadCalendarDay Repeatable="Today" >
<ItemStyle BackColor="Pink" />
</telerik:RadCalendarDay>
</SpecialDays>
</Calendar>
<DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>
<DateInput DisplayDateFormat="yyyy-MM-dd" DateFormat="yyyy-MM-dd" ShowButton="True"></DateInput>
</telerik:RadDatePicker></td>
C#
protected void grdList_ItemCommand(object source, GridCommandEventArgs e)
{
RadGrid grid = (source as RadGrid);
if (e.CommandName == RadGrid.InitInsertCommandName) //"Add new" button clicked
{
GridEditCommandColumn editColumn = (GridEditCommandColumn)grdList.MasterTableView.GetColumn("EditCommandColumn");
editColumn.Visible = false;
if (grid.EditItems.Count > 0)
{
grid.MasterTableView.ClearEditItems();
}
// <- I want to set toady atThis Point
}
How can I do it...
I have a requirement to create a large web form, about 70 fields a form, and must allow user to format text or insert table. The average data size on each item is about 200-300 lines (A4 page) and user request me to put all items in one page in order to make it easier to read. I worry about performance issue if I insert 70 RadEditor control on a page so I display text in asp:Literal control and use only one RadEditor to edit text in all literal.
I'm using AjaxControlToolkit's ModalPopupExtender to display a panel which has RadEditor in it to display a modal text editor popup.
Now ModalPopupExtender has a performance issue and some conflict with RadEditor so I want to use another way to display a modal text editor popup.
Is there any suggestion for me?
I want to put RadEditor in same page with all of the contents in this form.
If I use RadWindow, I must place RadEditor in another page and now the new feature which allow me to use RadWindow as a container in the same page has a bug with RadEditor.
Thanks.