<!--Telerik Control for CreateNew.. Telerik Modal window -->
<telerik:radwindow ID="ModalPopup" runat="server" Behavior="None"
ClientCallBackFunction="RefreshList()" Height="600px" Modal="True"
Width="800px"
NavigateUrl="~/shared/PopupDialog.aspx?uc=~/Usercontrols/ProgramTypeMaint.ascx"
OpenerElementID="<%# btnAdd.ClientID %>" VisibleStatusbar="False"
VisibleTitlebar="False" KeepInScreenBounds="True" Overlay="True"
Skin="Vista"></telerik:radwindow>
This works sometimes and does not popup modal sometimes.
The grid is
<!-- List Display --->
<asp:Panel runat="server" ID="ResultPnl">
<asp:UpdatePanel runat="server" ID="ListPnl">
<ContentTemplate>
<telerik:RadGrid ID="grdProgramTypes" runat="server" AllowPaging="true"
AutoGenerateColumns="false" EnableEmbeddedSkins="false" GridLines="None"
Skin="Trizetto" ImagesPath="~/images/RadControls/Grid" Height="100%"
Width="100%" AllowSorting="true" Visible="false"
OnItemDataBound="grdProgramTypes_ItemDataBound" PageSize="10"
onneeddatasource="grdProgramTypes_NeedDataSource" >
<ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true">
<Selecting AllowRowSelect="false" />
</ClientSettings>
<MasterTableView>
<RowIndicatorColumn>
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<Columns>
<tzg:LocalizableGridBoundColumn ID="Name" HeaderText="Desc" HeaderButtonType="TextButton" DataField="Description"> </tzg:LocalizableGridBoundColumn>
<telerik:GridTemplateColumn HeaderText="Actions" HeaderButtonType="TextButton" UniqueName="Action">
<ItemTemplate>
<asp:ImageButton ID="btnModify" ImageUrl="~/images/editdoc16.gif" runat="server" ToolTip="Click here to edit this record" />
<asp:ImageButton ID="btnDelete" ImageUrl="~/images/delete.gif" runat="server" ToolTip="Click here to delete this record" />
</ItemTemplate>
<ItemStyle Width="40px" />
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
The btn modify also opens up the modal. It is also inconsistent in its behaviour. Looking for some insights asap
Thanks
Geetha


| <table style="width: 697px; height: 72px;"> |
| <tbody> |
| <tr> |
| <td style="vertical-align: middle; text-align: center;"> |
| <h2><span style="color: #c00000; text-decoration: underline;">My trip to the Grand Canyon!</span></h2> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align: center;"> </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p style="text-align: center;"> </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <br /> |
| <br /> |

Hi,
I have this Combo
| <telerik:RadComboBox ID="rcbContact" Runat="server" AllowCustomText="True" | |
| EmptyMessage="Nume persoana" EnableLoadOnDemand="True" | |
| HighlightTemplatedItems="True" | |
| ShowToggleImage="False" onitemsrequested="rcbContact_ItemsRequested" LoadingMessage="Incarca..." | |
| ShowDropDownOnTextboxClick="False" DropDownWidth="450px"> | |
| <HeaderTemplate> | |
| <table><tr><td style="width:200px">Nume</td><td style="width:250px">Companie</td></tr></table> | |
| </HeaderTemplate> | |
| <ItemTemplate> | |
| <table><tr><td style="width:200px"><%# DataBinder.Eval(Container.DataItem, "V") %></td><td style="width:250px"><%# DataBinder.Eval(Container.DataItem, "CompanyName") %></td></tr></table> | |
| </ItemTemplate> | |
| </telerik:RadComboBox> |
which seems to have a problem. It's made into an autocomplete box (the number of choices given lower as you type). Notice the items are templated.
The problem is that while that works (as you type the number of displayed persons is getting lower), as soon as the combo loses focus the first match is selected no matter what I had tried to select from the dropdown.
I have another identical combo which has no templates. That one works just fine. Could you please let me know what I'm doing wrong? Mind you I checked - ItemsRequested is not called again so the combo is not being rebinded.
Thanks,
Cris
| RadWindow newwindow = new RadWindow(); | |
| newwindow.ID = "RadWindow10"; | |
| newwindow.Width = 800; | |
| newwindow.Height = 600; | |
| newwindow.NavigateUrl = "Repair.aspx?Propref=" + property.PROPREF; | |
| newwindow.VisibleOnPageLoad = true; | |
| newwindow.Skin = "WebBlue"; | |
| RadWindowManager1.Windows.Add(newwindow); |
| <asp:Button ID="btnRepairs" runat="server" Text="Book Repair" onclick="btnRepairs_click" /> |