Hi,
I asked before about how to add an image button to the "GroupSplitterColumn" header, and you advised me and send me the way to do that and it was a great help, the solution was as follows :
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
{
if (e.Item is GridHeaderItem)
{
GridHeaderItem header = (GridHeaderItem)e.Item;
ImageButton imgbtn = new ImageButton();
imgbtn.ID = "btnExpndAll";
imgbtn.ImageUrl = "~/Images/Image1.gif";
imgbtn.Click += new ImageClickEventHandler(imgbtn_Click);
header["column"].Controls.Add(imgbtn);
}
}
void imgbtn_Click(object sender, ImageClickEventArgs e)
{
RadGrid1.MasterTableView.GroupsDefaultExpanded = !RadGrid1.MasterTableView.GroupsDefaultExpanded;
RadGrid1.MasterTableView.Rebind();
}
the Uniquename of the "GroupSplitterColumn" as you use above is ["column"], the problem is I am using now a hierarchy Grid and I add the above statement to my "GroupSplitterColumn" but what happened is when another collapse column appear for my DetailTables an exception start to appear to me, The Exception is :-
Sys.WebForms.PageRequestManagerServerErrorException; Cannot find a cell bound to column name 'column'
and when I remove the above statement this error stop appear, so what happened !!! is there any conflict betwen the "GroupSplitterColumn" and the new DetailTables collapse column, or I should use another Uniquename ??
Please help ...
Thanks
Ban
<radCln:RadCalendar ID="RadCalendar1" runat="server" Font-Names="Arial,Verdana,Tahoma"
ForeColor="Black" Skin="WebBlue" MultiViewColumns="4" MultiViewRows="3"
CultureID="2057" CultureInfo="English (United Kingdom)"
SelectedDate="" AutoPostBack = "true" >
<WeekendDayStyle ForeColor="#CCCCCC" />
<CalendarTableStyle BorderStyle="Solid" BorderWidth="4px" />
</radCln:RadCalendar>
when I run this calendar, it runs fine except that there is a very slow full page postback when a date is selected. Am I doing anything wrong/is there something I can change in this setup or is the postback just something I have to live with.
Thanks in advance
| <add name="RadEditorProvider" type="Telerik.DNN.Providers.RadEditorProvider" EditModes="Design,HTML" ToolsFile="~/DesktopModules/TelerikWebUI/CNdefault.xml" DialogHandlerUrl="~/DesktopModules/TelerikWebUI/RadEditorProvider/Telerik.Web.UI.DialogHandler.aspx" ContentAreaCssFile="~/DesktopModules/TelerikWebUI/Custom.css" providerPath="~/DesktopModules/TelerikWebUI" AutoCreatePaths="true" ImagesPaths="~/images/ForumImages/" UploadImagesPaths="~/images/ForumImages/" DeleteImagesPaths="~/images/ForumImages/" MaxImageSize="512000" /> |
| <?xml version="1.0" encoding="utf-8" ?> |
| <root> |
| <modules> |
| <module name="RadEditorStatistics" dockingZone="Bottom"/> |
| </modules> |
| <tools name="MainToolbar"> |
| <tool name="Print" shortcut="CTRL+P"/> |
| <tool name="FindAndReplace" shortcut="CTRL+F"/> |
| <tool separator="true"/> |
| <tool name="Undo" shortcut="CTRL+Z"/> |
| <tool name="Redo" shortcut="CTRL+Y"/> |
| </tools> |
| <tools name="InsertToolbar" > |
| <tool separator="true"/> |
| <tool name="ImageManager" shortcut="CTRL+G"/> |
| <tool name="LinkManager" shortcut="CTRL+K"/> |
| <tool name="Unlink" shortcut="CTRL+SHIFT+K"/> |
| </tools> |
| <tools> |
| <tool name="InsertGroupbox" /> |
| <tool name="InsertHorizontalRule" /> |
| </tools> |
| <tools> |
| <tool name="FormatBlock"/> |
| <tool name="FontName" shortcut="CTRL+SHIFT+F"/> |
| <tool name="RealFontSize" shortcut="CTRL+SHIFT+P"/> |
| </tools> |
| <tools> |
| <tool name="Bold" shortcut="CTRL+B"/> |
| <tool name="Italic" shortcut="CTRL+I"/> |
| <tool name="Underline" shortcut="CTRL+U"/> |
| <tool name="StrikeThrough" /> |
| <tool separator="true"/> |
| <tool name="JustifyLeft" /> |
| <tool name="JustifyCenter" /> |
| <tool name="JustifyRight" /> |
| <tool name="JustifyFull" /> |
| <tool name="JustifyNone" /> |
| <tool separator="true"/> |
| <tool name="Indent" /> |
| <tool name="Outdent" /> |
| <tool separator="true"/> |
| <tool name="InsertOrderedList" /> |
| <tool name="InsertUnorderedList" /> |
| </tools> |
| <tools> |
| <tool name="ForeColor"/> |
| <tool name="BackColor"/> |
| <tool name="ApplyClass"/> |
| <tool name="FormatStripper"/> |
| </tools> |
| <tools name="DropdownToolbar" > |
| <tool name="InsertSymbol"/> |
| <tool name="InsertTable"/> |
| <tool name="InsertCustomLink" shortcut="CTRL+ALT+K"/> |
| </tools> |
| </root> |
I have a RadDock image gallery and I drag and drop into a RadDockZone this images, the same time I want to make clones for these Images. Is this possible?
Any help on this is really appreciated!!!
Thanks,
Durga
| Budget Center Code | Budget Center Description | Budget Center Manager | ||
| S24310 | IT - App Project Del | |||
| Budget Center Code | Budget Center Description | Budget Center Manager | Annual Outlook | Annual Budget |
| 1234 | Budget Center A | 0 | 0 | |
| S23100 | IT Administration | |||
| Budget Center Code | Budget Center Description | Budget Center Manager | Annual Outlook | Annual Budget |
| 5678 | Budget Center B | 0 | 0 | |
const int total = 100;
RadProgressContext progress = RadProgressContext.Current; <--- How do I only obtain the RadProgressArea1 instead of both???
for (int i = 0; i < total; i++)
{
progress.PrimaryTotal = 1;
progress.PrimaryValue = 1;
progress.PrimaryPercent = 100;
progress.SecondaryTotal = total;
progress.SecondaryValue = i;
progress.SecondaryPercent = i;
progress.CurrentOperationText = file.GetName() + " is being processed...";
if (!Response.IsClientConnected)
{
//Cancel button was clicked or the browser was closed, so stop processing
break;
}