Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
75 views
I have everything I need to start saving and loading dock state in the database but I have a strange question, how do initially get the dock state into my DB? Obviously I need the state to be in the tables before the page will even load, I was thinking I could have a test page set up with an original layout of the rad docks so I can grab the dock state in debug mode, is this even possible or is there a better way?

Pero
Telerik team
 answered on 28 Jan 2011
3 answers
156 views
Hi all,

I was hoping to have a discussion about what all needs to occur when attempting to save and load dynamically created objects.

I've looked through the following example pretty thoroughly and I feel like it is a good starting example, but leaves some complex concepts still untouched: http://demos.telerik.com/aspnet-ajax/dock/examples/myportal/defaultcs.aspx

So, my first concern is usage of only a single RadDockLayout in this example. It is my understanding that scenarios will arrive where multiple RadDockLayouts will be necessary and that each RadDockLayout needs to be able to persist the state of controls inside of it. Does Telerik possess example code to handle this scenario? Could some be mocked up?

For instance, in my scenario I have the following situation:
  • The web page loads and the user is presented with only one, blank RadPane.
  • The user has the ability to divide this RadPane up into subsections which will eventually hold RadDocks through the following strategy: 
  • 1) User indicates they would like to add a horizontal RadSplitBar to the screen.
  • 2) Dynamic creation of the following controls ensues:
  • a) RadSplitter will be our base foundation. Its orientation is horizontal.
  • b) RadPane will be contained in the RadSplitter.
  • c) RadDockLayout will be contained in the RadPane.
  • d) RadDockZone will be contained in the RadDockLayout.
  • e) RadSplitBar will be contained in RadSplitter.
  • f) Repeat steps b-d to replicate the 'other half' of RadSplitter's content.
  • 3) This RadSplitter is now added to the blank RadPane. 
  • The user now has control over two dynamically created, resizable RadDockZones.
At this point it should be clear that the amount of objects requiring persistent state is going to be much larger than that of the simple example provided above. In addition, my scenario allows the user to continue adding more bars to their initial RadPane -- subdividing the initially blank square into many RadDockZones of various size. After investigating this issue further, I was able to find some sample code provided by a Telerik employee that showed a way of saving DockZone's to a database. In this example, they capture a specific RadDockLayout's RegisteredZones and write the list of names to a database. Then, they recreate each zone using only the name given in the database. This solution does not seem easily extensible, however. How would one handle an arbitrarily large amount of nested controls?
Attempting to recreate the object structure I described above sounds near impossible. The user may have decided that they really like horizontal dividers. As such, they have nested the above object structure in itself multiple times. Each time, the code must strip away the RadDockZone and RadDockLayout and re-add the entire structure to the RadPane in order to 'split' it into two again. Then, when loading the hierarchy on page init, I cannot just load all RadDockZones. I must load the first splitter on the static pane, then the panes it holds, then splitters inside those panes (recursively going through any splitters added to the pane) before being able to go back through and add RadDockLayouts and RadDockZones to panes which do not have splitters on them.
Whew! With all that being said, I feel like this goal is an achievable one. Unfortunately, I do not see a way of dumbing down this recursive-nesting in a way that would yield the same results that I desire.
If I can provide any additional information, let me know. If a sample project with code would be helpful I can supply, but I will be the first to admit that my project is still in its infancy.
Thank you for your time!
EDIT: If it seems that creating a complicated mock-up would not be feasible at this point in time, would it be possible to receive a mock-up of a static RadPane saving/loading the state of another control?









Pero
Telerik team
 answered on 28 Jan 2011
9 answers
85 views
Hi,

If I have a header at the top of a page how do I type or paste text before the header without the header style being applied to it?

Thanks,

Jeff
Jeff Paetkau
Top achievements
Rank 1
 answered on 28 Jan 2011
1 answer
41 views
I know I can do this for myself (and have) but I thought that there might be a place for a button class 'rbUAC' that used the Windows UAC shield as the icon.

Just a thought.

-- 
Stuart
Pero
Telerik team
 answered on 28 Jan 2011
2 answers
57 views
Hi. I am contemplating using the TagCloud to display some information that I am generating (actually in code behind from a database). I am therefore not using the TagCloud to scan external text, files, url.... I am setting the .text property from the code behind and creating a comma seperated string. I can control the string and control that the only punctuation character is ','.

My problem is that some of the tags are two words ("Sales Manager", "Retail Shop"....). If I create the aggregate string it would look like:

"Word1, Word2, Sales Manager, Another, Word, Retail Shop, ....."

This is all fine. However, even if I set PunctuationCharacters = "," the tagCloud still parses the .text using space as a valid separator. I thought that I could be clever and perform a newSubString.replace(' ', '\u00A0') to replace spaces with  . However, the tagCloud still parses this so that I end up with two items in the cloud for "Sales" and "Manager". At the moment I am therefore performing a .replace(' ', '_') now and accepting the display consequences for this.

I am assuming that I haven't made any mistakes and this is correct behaviour. Could I suggest an enhancement such that is you include \u00A0 in the punctuationValidCharacters then the tagCloud will treat it as a 'no break space'.
Pero
Telerik team
 answered on 28 Jan 2011
1 answer
56 views
Hi, due to a client request I need all parent nodes even if they have NO child nodes with the same icon.
Currently I'm using the rtPlus, rtMinus to show the corresponding icons, but from what I can see in the rendered html code, these two spans are missing when a node has no child nodes. How can I achieve this?

Can be client or server side.

Thanks in advance, 

Deval
Yana
Telerik team
 answered on 28 Jan 2011
1 answer
88 views
Hi,
I was able to load the Telerik dll's into my Dev server GAC via .NetConfigurator 2.0 with no issues. However, when I went to load it on Test and Prod's GAC, I noticed that they were running .NetConfigurator 1.1 and won't let me add without a Strong Name. How do I get the Strong Name for the Telerik dll's.

Thanks,

Sam
Daniel
Telerik team
 answered on 28 Jan 2011
2 answers
35 views
I am using version 2009.3.1314.35 of the toolset.

I have a master/detail grid. The filters are only set on the master grid. When I try to perform a filter function, I get the attached errors.

Here is my full html. The grid is working fine except for the filtering. Notice again, that the filtering is only for the master grid (in bold). I have the filtering turned off for the latter columns on the master grid.

How can I perform the filtering without getting this error?

<telerik:RadGrid ID="RadGridPatientInfo" runat="server" Width="100%" AllowSorting="True"
                Skin="Outlook" ShowStatusBar="true" GridLines="None" OnNeedDataSource="RadGridPatientInfo_NeedDataSource" AllowFilteringByColumn="true"
                OnDetailTableDataBind="RadGridPatientInfo_DetailTableDataBind" OnItemDataBound="RadGridPatientInfo_ItemDataBound"
                ShowFooter="true" AutoGenerateColumns="false" ShowHeader="true" AllowPaging="True"
                PageSize="10" HeaderStyle-Font-Bold="true">
                <MasterTableView TableLayout="Fixed" AutoGenerateColumns="False" DataKeyNames="EDLogDetailID"
                    AllowFilteringByColumn="true" CommandItemDisplay="Top" Name="Patient">
                    <CommandItemTemplate>
                        <table width="100%">
                            <tr>
                                <td align="left" width="50%">
                                    <asp:Label ID="lblPatient" runat="server" Style="font-weight: bold; color: White"
                                        Text="Patient Information"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </CommandItemTemplate>
                    <DetailTables>
                        <telerik:GridTableView DataKeyNames="EDLogDetailID" Name="PatientInsurance" Width="100%"
                            BackColor="#EFEFFB" AllowFilteringByColumn="false" AllowSorting="false" CommandItemDisplay="Top"
                            TableLayout="Fixed" ShowHeader="true" AutoGenerateColumns="false">
                            <CommandItemTemplate>
                                <table width="100%">
                                    <tr>
                                        <td align="left" width="50%">
                                            <asp:Label ID="lblPatientInsurance" runat="server" Style="font-weight: bold; color: White"
                                                Text="Patient Insurance"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </CommandItemTemplate>
                            <Columns>
                                <telerik:GridTemplateColumn Visible="false">
                                    <ItemTemplate>
                                        <asp:Label ID="EdLogDetailID" runat="server" Text='<%# Bind("EdLogDetailID") %>' />
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn Visible="false">
                                    <ItemTemplate>
                                        <asp:Label ID="PatientID" runat="server" Text='<%# Bind("PatientID") %>' />
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn Visible="false">
                                    <ItemTemplate>
                                        <asp:Label ID="PatientInsuranceID" runat="server" Text='<%# Bind("PatientInsuranceID") %>' />
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn Visible="false">
                                    <ItemTemplate>
                                        <asp:HiddenField ID="hdnhospPatAcctno" runat="server" Value='<%# Bind("hospPatAcctno") %>' />
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridBoundColumn DataField="priPolicyNumber" HeaderText="Pri Pol Nbr" ReadOnly="true"
                                    UniqueName="priPolicyNumber" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="guarEmployer" HeaderText="Guar Emp Nme" ReadOnly="true"
                                    UniqueName="guarEmployer" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="guarEmpPhone" HeaderText="Guar Emp Phone" ReadOnly="true"
                                    UniqueName="guarEmpPhone" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridTemplateColumn HeaderText="Ins Info" UniqueName="PatientInsInfo" ItemStyle-HorizontalAlign="Center"
                                    ItemStyle-Font-Bold="true" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:ImageButton ID="imgInsInfo" runat="server" ImageUrl="~/images/icon_document.gif"
                                            ToolTip="Additional Patient Insurance Info" CausesValidation="False" OnClick="PatientInsInfo_Click" />
                                    </ItemTemplate>
                                    <HeaderStyle Font-Bold="True" />
                                    <HeaderStyle Width="35px" />
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Created By" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:Label ID="lblCreatedBy" runat="server" Text='<%# Bind("createdBy") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle Width="80px" />
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Created Date" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:Label ID="lblCreatedDate" runat="server" Text='<%# Bind("createdDate") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle Width="80px" />
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Updated By" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:Label ID="lblUpdatedBy" runat="server" Text='<%# Bind("updatedBy") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle Width="80px" />
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Updated Date" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:Label ID="lblUpdatedDate" runat="server" Text='<%# Bind("updatedDate") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle Width="80px" />
                                </telerik:GridTemplateColumn>
                            </Columns>
                        </telerik:GridTableView>
                        <telerik:GridTableView DataKeyNames="EDLogDetailID" Name="VisitInfo" Width="100%"
                            BackColor="#EFEFFB" TableLayout="Fixed" ShowHeader="true" AutoGenerateColumns="false"
                            AllowFilteringByColumn="false" AllowSorting="false" CommandItemDisplay="Top">
                            <CommandItemTemplate>
                                <table width="100%">
                                    <tr>
                                        <td align="left" width="50%">
                                            <asp:Label ID="lblPatientVisit" runat="server" Style="font-weight: bold; color: White"
                                                Text="Patient Visits"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </CommandItemTemplate>
                            <Columns>
                                <telerik:GridBoundColumn Visible="false" DataField="EdLogDetailID" HeaderText="EDLogDtlID"
                                    UniqueName="EdLogDetailID" ReadOnly="true" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn Visible="false" DataField="PatientID" HeaderText="PatID"
                                    UniqueName="PatientID" ReadOnly="true" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn Visible="false" DataField="VisitInfoID" HeaderText="VisitInfoID"
                                    UniqueName="VisitInfoID" ReadOnly="true" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="DX1" HeaderText="DX1" UniqueName="DX1" ReadOnly="true"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridDateTimeColumn DataField="DX2" HeaderText="DX2" UniqueName="DX2" ReadOnly="true"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridDateTimeColumn>
                                <telerik:GridBoundColumn DataField="DX3" HeaderText="DX3" ReadOnly="true" UniqueName="DX3"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="DX4" HeaderText="DX4" UniqueName="DX4" ReadOnly="true"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridDateTimeColumn DataField="DX5" HeaderText="DX5" UniqueName="DX5" ReadOnly="true"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridDateTimeColumn>
                                <telerik:GridBoundColumn DataField="DX6" HeaderText="DX6" ReadOnly="true" HeaderStyle-Font-Bold="true"
                                    UniqueName="DX6">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridDateTimeColumn DataField="ArrivalTime" HeaderText="Arr Tme" ReadOnly="true"
                                    HeaderStyle-Font-Bold="true" UniqueName="ArrivalTime">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridDateTimeColumn>
                                <telerik:GridBoundColumn DataField="Treating_Provider_Name" HeaderText="Treating Prov"
                                    ReadOnly="true" UniqueName="Treating_Provider_Name" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="Supervising_Provider_Name" HeaderText="Supervising Prov"
                                    ReadOnly="true" UniqueName="Supervising_Provider_Name" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridDateTimeColumn DataField="DrInTime" HeaderText="Dr In Time" ReadOnly="true"
                                    UniqueName="DrInTime" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridDateTimeColumn>
                                <telerik:GridDateTimeColumn DataField="AccidentDate" DataFormatString="{0:d}" HeaderText="Accident Dte"
                                    ReadOnly="true" UniqueName="AccidentDate" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridDateTimeColumn>
                                <telerik:GridDateTimeColumn DataField="AdmittedDate" DataFormatString="{0:d}" HeaderText="Admit Dte"
                                    ReadOnly="true" UniqueName="AdmittedDate" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridDateTimeColumn>
                                <telerik:GridTemplateColumn HeaderText="Created By" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:Label ID="lblCreatedBy" runat="server" Text='<%# Bind("CreatedBy") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle Width="80px" />
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Created Date" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:Label ID="lblCreatedDate" runat="server" Text='<%# Bind("CreatedDate") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle Width="80px" />
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Updated By" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:Label ID="lblUpdatedBy" runat="server" Text='<%# Bind("UpdatedBy") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle Width="80px" />
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Updated Date" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:Label ID="lblUpdatedDate" runat="server" Text='<%# Bind("UpdatedDate") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle Width="80px" />
                                </telerik:GridTemplateColumn>
                            </Columns>
                        </telerik:GridTableView>
                        <telerik:GridTableView DataKeyNames="EDLogDetailID" Name="TreatmentInfo" Width="100%"
                            BackColor="#EFEFFB" AllowFilteringByColumn="false" AllowSorting="false" CommandItemDisplay="Top"
                            TableLayout="Fixed" ShowHeader="true" AutoGenerateColumns="false">
                            <CommandItemTemplate>
                                <table width="100%">
                                    <tr>
                                        <td align="left" width="50%">
                                            <asp:Label ID="lblPatientTreatment" runat="server" Style="font-weight: bold; color: White"
                                                Text="Patient Treatment"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </CommandItemTemplate>
                            <Columns>
                                <telerik:GridBoundColumn Visible="false" DataField="EdLogDetailID" HeaderText="EDLogDtlID"
                                    UniqueName="EdLogDetailID" ReadOnly="true" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn Visible="false" DataField="PatientID" HeaderText="PatID"
                                    UniqueName="PatientID" ReadOnly="true" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn Visible="false" DataField="VisitInfoID" HeaderText="VisitInfoID"
                                    UniqueName="VisitInfoID" ReadOnly="true" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn Visible="false" DataField="ChargeID" HeaderText="ChargeID"
                                    UniqueName="ChargeID" ReadOnly="true" HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="DX1" HeaderText="DX1" UniqueName="DX1" ReadOnly="true"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridDateTimeColumn DataField="DX2" HeaderText="DX2" UniqueName="DX2" ReadOnly="true"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridDateTimeColumn>
                                <telerik:GridBoundColumn DataField="DX3" HeaderText="DX3" ReadOnly="true" UniqueName="DX3"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="DX4" HeaderText="DX4" UniqueName="DX4" ReadOnly="true"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridDateTimeColumn DataField="DX5" HeaderText="DX5" UniqueName="DX5" ReadOnly="true"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridDateTimeColumn>
                                <telerik:GridBoundColumn DataField="DX6" HeaderText="DX6" ReadOnly="true" HeaderStyle-Font-Bold="true"
                                    UniqueName="DX6">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="CPT" HeaderText="CPT" ReadOnly="true" UniqueName="CPT"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="Mod1" HeaderText="Mod1" ReadOnly="true" UniqueName="Mod1"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="Mod2" HeaderText="Mod2" ReadOnly="true" UniqueName="Mod2"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="Mod3" HeaderText="Mod3" ReadOnly="true" UniqueName="Mod3"
                                    HeaderStyle-Font-Bold="true">
                                    <HeaderStyle Font-Bold="True" />
                                </telerik:GridBoundColumn>
                                <telerik:GridTemplateColumn HeaderText="Created By" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:Label ID="lblCreatedBy" runat="server" Text='<%# Bind("CreatedBy") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle Width="80px" />
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Created Date" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:Label ID="lblCreatedDate" runat="server" Text='<%# Bind("CreatedDate") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle Width="80px" />
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Updated By" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:Label ID="lblDeletedBy" runat="server" Text='<%# Bind("UpdatedBy") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle Width="80px" />
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Updated Date" AllowFiltering="false">
                                    <ItemTemplate>
                                        <asp:Label ID="lblDeletedDate" runat="server" Text='<%# Bind("UpdatedDate") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle Width="80px" />
                                </telerik:GridTemplateColumn>
                            </Columns>
                        </telerik:GridTableView>
                    </DetailTables>
                    <ExpandCollapseColumn Visible="True">
                    </ExpandCollapseColumn>
                    <Columns>
                        <telerik:GridTemplateColumn Visible="false">
                            <ItemTemplate>
                                <asp:HiddenField ID="hdnEDLogID" runat="server" Visible="false" Value='<%# Bind("EDLogID") %>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn Visible="false">
                            <ItemTemplate>
                                <asp:HiddenField ID="hdnFacilityID" runat="server" Visible="false" Value='<%# Bind("FacilityID") %>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn Visible="false">
                            <ItemTemplate>
                                <asp:HiddenField ID="hdnCheckOutUser" runat="server" Visible="false" Value='<%# Bind("CheckOutUser") %>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="InsertPatient" ItemStyle-HorizontalAlign="Center"
                            ItemStyle-Font-Bold="true" AllowFiltering="false">
                            <ItemTemplate>
                                <asp:ImageButton ID="imgInsert" runat="server" ImageUrl="~/images/Icon_Edit.gif"
                                    ToolTip="Insert data for all patients in DOS for PRESENT status" CommandName="DOSStatusUpdate"
                                    CausesValidation="False" OnClick="Patient_Click" />
                            </ItemTemplate>
                            <HeaderStyle Font-Bold="True" />
                            <HeaderStyle Width="35px" />
                        </telerik:GridTemplateColumn>
                        <telerik:GridBoundColumn DataField="FacilityName" HeaderText="Fac" ReadOnly="True"
                            HeaderStyle-Font-Bold="true" SortExpression="FacilityName" UniqueName="FacilityName">
                            <HeaderStyle Font-Bold="True" />
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn HeaderText="EDLogDtlID" Visible="false">
                            <ItemTemplate>
                                <asp:Label ID="lblEDLogDetailID" runat="server" Text='<%# Bind("EDLogDetailID") %>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn Visible="false">
                            <ItemTemplate>
                                <asp:HiddenField ID="hdnVisitInfoID" runat="server" Value='<%# Bind("VisitInfoID") %>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="DOS">
                            <ItemTemplate>
                                <asp:Label ID="lblDateOfService" runat="server" Text='<%# Bind("DateOfService","{0:d}") %>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridBoundColumn DataField="PatLName" HeaderText="Lst Nme" ReadOnly="True"
                            HeaderStyle-Font-Bold="true" SortExpression="PatLName" UniqueName="PatLName">
                            <HeaderStyle Font-Bold="True" />
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="PatFname" HeaderText="Fst Nme" ReadOnly="True"
                            HeaderStyle-Font-Bold="true" SortExpression="PatFname" UniqueName="PatFname">
                            <HeaderStyle Font-Bold="True" />
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn HeaderText="Insert" SortExpression="HospAcctno">
                            <ItemTemplate>
                                <asp:LinkButton ID="HospAcctno" runat="server" CommandName="SingleUpdate" Text='<%# Bind("HospAcctno") %>'
                                    CommandArgument="Insert" CausesValidation="False" OnClick="Patient_Click" ToolTip="Insert Patient for PRESENT status."
                                    ForeColor="Blue" />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Update" SortExpression="HospAcctno">
                            <ItemTemplate>
                                <asp:LinkButton ID="HospAcctnoUp" runat="server" CommandName="SingleUpdate" Text='<%# Bind("HospAcctno") %>'
                                    CommandArgument="Update" CausesValidation="False" OnClick="Patient_Click" ToolTip="Update Patient for PREVIOUS status."
                                    ForeColor="Blue" />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="MRN #" SortExpression="MRNumber">
                            <ItemTemplate>
                                <asp:Label ID="MRNumber" runat="server" Text='<%# Bind("MRNumber") %>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Status" SortExpression="StatusDescription">
                            <ItemTemplate>
                                <asp:Label ID="StatusDescription" runat="server" Text='<%# Bind("StatusDescription") %>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="PatID" AllowFiltering="false" Visible="false">
                            <ItemTemplate>
                                <asp:Label ID="lblPatientID" runat="server" Text='<%# Bind("PatientID") %>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="PatInsID" Visible="false">
                            <ItemTemplate>
                                <asp:Label ID="lblPatientInsuranceID" runat="server" Text='<%# Bind("PatientInsuranceID") %>' />
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Pat Info" UniqueName="PatientInfo" ItemStyle-HorizontalAlign="Center"
                            ItemStyle-Font-Bold="true" AllowFiltering="false">
                            <ItemTemplate>
                                <asp:ImageButton ID="imgInfo" runat="server" ImageUrl="~/images/icon_document.gif"
                                    ToolTip="Patient Demographics" CausesValidation="False" OnClick="MorePatientInfo_Click" />
                            </ItemTemplate>
                            <HeaderStyle Font-Bold="True" />
                            <HeaderStyle Width="35px" />
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Created By" AllowFiltering="false">
                            <ItemTemplate>
                                <asp:Label ID="lblCreatedBy" runat="server" Text='<%# Bind("CreatedBy") %>' />
                            </ItemTemplate>
                            <HeaderStyle Width="80px" />
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Created Date" AllowFiltering="false">
                            <ItemTemplate>
                                <asp:Label ID="lblCreatedDate" runat="server" Text='<%# Bind("CreatedDate") %>' />
                            </ItemTemplate>
                            <HeaderStyle Width="80px" />
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Updated By" AllowFiltering="false">
                            <ItemTemplate>
                                <asp:Label ID="lblUpdatedBy" runat="server" Text='<%# Bind("UpdatedBy") %>' />
                            </ItemTemplate>
                            <HeaderStyle Width="80px" />
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Updated Date" AllowFiltering="false">
                            <ItemTemplate>
                                <asp:Label ID="lblUpdatedDate" runat="server" Text='<%# Bind("UpdatedDate") %>' />
                            </ItemTemplate>
                            <HeaderStyle Width="80px" />
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Unlk" UniqueName="PatientUnlock" ItemStyle-HorizontalAlign="Center"
                            ItemStyle-Font-Bold="true" AllowFiltering="false">
                            <ItemTemplate>
                                <asp:ImageButton ID="imgUnlock" runat="server" ImageUrl="~/images/lock_open.png"
                                    ToolTip="Unlock Account" CausesValidation="False" OnClick="PatientUnlock_Click" />
                            </ItemTemplate>
                            <HeaderStyle Font-Bold="True" />
                            <HeaderStyle Width="35px" />
                        </telerik:GridTemplateColumn>
                    </Columns>
                </MasterTableView>
                <HeaderStyle Font-Bold="True"></HeaderStyle>
            </telerik:RadGrid>
Bill
Top achievements
Rank 2
 answered on 28 Jan 2011
2 answers
116 views
Hi
     In my application i am using four  radwindow and each window performs a specific request. The problem i am experiencing is ... i have set different size and other properties for each window but sometimes when i open the radwindow all the properties i have set for that window goes off  and the window opens with that page content....
and if i refresh the main window and open the radwindow its properties are regained and working fine....
 below is my code

 

 

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true" Style="z-index: 7001" >

 

 

 

<Windows>

 

 

 

<telerik:RadWindow ID="UserListDialog" runat="server" Title="Editing record" Height="200px" DestroyOnClose="true"

 

 

 

Width="600px" Left="150px" ReloadOnShow="true" ShowContentDuringLoad="false" Modal="true" KeepInScreenBounds="True" VisibleTitlebar="False" VisibleStatusbar="False" Skin="Vista" Behaviors="Close,Move" />

 

 

 

</Windows>

 

 

 

<Windows>

 

 

 

<telerik:RadWindow ID="Details" runat="server" VisibleStatusbar="false" NavigateUrl="windowcs.aspx" DestroyOnClose="true"

 

 

 

Height="530px" Width="645px" AutoSize="false" Behaviors="Close,Move" ShowContentDuringLoad="false" Skin="Vista" Modal="true" KeepInScreenBounds="True" />

 

 

 

</Windows>

 

 

 

<Windows>

 

 

 

<telerik:RadWindow ID="UserListDialog1" runat="server" Title="Editing record" Height="200px" DestroyOnClose="true"

 

 

 

Width="600px" Left="150px" ReloadOnShow="true" ShowContentDuringLoad="false" Modal="true" Skin="Vista" VisibleTitlebar="False" VisibleStatusbar="False" KeepInScreenBounds="True" Behaviors="Close,Move" />

 

 

 

</Windows>

 

 

 

<Windows>

 

 

 

<telerik:RadWindow ID="Uow1" runat="server" Title="Upload Photos" Height="550px" DestroyOnClose="true"

 

 

 

Width="950px" ReloadOnShow="true" ShowContentDuringLoad="false" Modal="true" Skin="Vista" AutoSize="False" VisibleTitlebar="True" VisibleStatusbar="False" EnableTheming="True" Behaviors="Close,Move,Minimize" KeepInScreenBounds="True" />

 

 

 

</Windows>

 

 

 

<Windows>

 

 

 

<telerik:RadWindow ID="RadWindow1" runat="server" Title="Move record" Height="200px" DestroyOnClose="true"

 

 

 

Width="600px" ReloadOnShow="true" ShowContentDuringLoad="false" Modal="true" Skin="Vista" VisibleTitlebar="False" VisibleStatusbar="False" KeepInScreenBounds="True" Behaviors="Close,Move" />

 

 

 

</Windows>

 

 

 

<Windows>

 

 

 

<telerik:RadWindow ID="Copw" runat="server" Title="Cocord" Height="200px" DestroyOnClose="true"

 

 

 

Width="600px" ReloadOnShow="true" ShowContentDuringLoad="false" Modal="true" Skin="Vista" VisibleTitlebar="False" VisibleStatusbar="False" KeepInScreenBounds="True" Behaviors="Close,Move" />

 

 

 

</Windows>

 

 

 

<Windows>

 

 

 

<telerik:RadWindow

 

 

 

id="RadWindow2"

 

 

 

KeepInScreenBounds="true"

 

 

 

runat="server"

 

 

 

showcontentduringload="true"

 

 

 

width="650px"

 

 

 

height="550px"

 

 

 

title="Sow"

 

 

 

Modal="true"

 

 

 

behaviors="Close">

 

 

 

</telerik:RadWindow>

 

 

 

</Windows>

 

 

 

</telerik:RadWindowManager>
kindly give me a solution for making the radwindow to appear with the same properties whenever i open it...

 

deva
Top achievements
Rank 1
 answered on 28 Jan 2011
5 answers
485 views
Newbie to Telerix controls; was wondering if anyone could help me regarding programatically setting the radChart Legend's font size?

Thanks in advance,

Kevin
KJF
Top achievements
Rank 2
 answered on 28 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?