Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
176 views
Hi

I have RadWindow that opens up a popup modal dialog from a button and a button in a Radgrid on a given page. It behaves so incosistent.Sometimes one of those buttons bring up the modal. When i hit other button that brings up the same modal ,it does not show up. Then the modal popup stops functioning from any button click. I use Rad ASP Net Ajax Q2 2008. I am brand new to this. I am really bugged by this behaviour.

The code snippet on my page is

<!--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

 

Geetha
Top achievements
Rank 1
 answered on 04 Jun 2009
8 answers
489 views
Hey Everyone,

I'm having trouble making the Edit Image button on each record invisible.  I want to be able to Add and Delete Records, but not be able to Edit them.  However, if I do not generate/create an Edit button, the Insert/Cancel image buttons do not appear when I add a new record.  Can someone please tell me the correct settings I need?  Thanks.
Peter Obiefuna
Top achievements
Rank 1
 answered on 04 Jun 2009
4 answers
67 views
I am stuck in an enviroment where IE 6 will not go away due to critical applications that only support it (I know....).  When our users open up a RadWindow, maximize and then close the window, the content on the parent page is not showing.  To get the content to show, we have to refresh the page. 

This is only an IE 6 issue.
WebGeek
Top achievements
Rank 1
 answered on 04 Jun 2009
4 answers
131 views
I am using the ASP.NET AJAX 2009 Q1 version of the Rad Windows. I have a window using the Black Skin, but I would like to change the Forecolor of the Title in the window and I have been unsuccessful in doing it with the ForeColor property of the Window or the Window Manager. Is this possible?

Thanks!
Brad
Top achievements
Rank 1
 answered on 04 Jun 2009
1 answer
58 views
I am attempting to upgrade a project from the asp.net controls to AJAX q1 2009 suite.

The following code previously worked when implementing a custom tree list created server side, however I cannot find equivelant functionality in the new suite.

nodeCarrier.EditEnabled = false;
nodeCarrier.DragEnabled = false;
nodeCarrier.DropEnabled = false;

Can this still be achieved server side?
Atanas Korchev
Telerik team
 answered on 04 Jun 2009
1 answer
101 views
In the editor when changing font colors it works differently in Safari than it does in firefox. In FF it sets the color style to "color: #ffffff" but in Safari it stores it as "color: rgb(0,0,0)". My problem is that when I export this text to Word, the rbg color isn't being recognized by Word. How can I make safari always use the #FFFFF style?
Rumen
Telerik team
 answered on 04 Jun 2009
1 answer
81 views
I've been reading in this forum about the possibility to use Image Manager to Edit and Upload Images to the server? I don't want the functions of RadEditor just a upload button that makes the Image Manager visible and then allows me to upload images to the server!

Is this possible?
Rumen
Telerik team
 answered on 04 Jun 2009
1 answer
216 views
I have built a module with the File Explorer control which manages a bunch of .html content. I have added a custom context menu item which edits these files. When a user selects to edit a file, a dialog opens up with a Rad Editor that loads the content from the file system. When the user is done, they save the content back to the file system through the editor, the dialog closes, and the file explorer is refreshed. The issue I am having is the following...

If I go into the file explorer and "Open" one of the files to have a look at it, everything is fine (the file opens in the nifty Telerik Rad Window) for preview purposes. If I edit a document and save the changes, I can look in the file system and see that the document was indeed changed. However, after the File Explorer is refreshed, if I go to "open" that same document, the previous version is shown. If I right click within the preview popup and select "Refresh", the proper current version is shown. So, clearly this has something to do with caching

I took a look at my temporary internet files to see if a file was cached, and lo-and-behold, there was the .html file. What was surprising to me, though, was that the standard Telerik rwndrnd query parameter (which is used to prevent caching in rad window) was there. What was also strange was that, although I went through several iterations of making changes to the file, and each time the window showed the previous version, my temporary internet files only showed a single item for the file with the same rdwndrnd parameter. I was under the imporession that the parameter changed every time the window open is called for the expressed purpuse of eliminating the caching. Lastly, I deleted the file from the temporary internet files and the caching continued to persist. After a large number of iterations, I have yet to see the file in the Temporary Internet File folder.

This issue doesn't seem to be occurring in FF3. I haven't tried IE7 yet, but the problem definitely occurs in IE6.

So, any idea how I can prevent the File Explorer "open" function from opening cached content. My .html files are actually just html segments like the following:

<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 /> 
Fiko
Telerik team
 answered on 04 Jun 2009
2 answers
72 views

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

 

Cris
Top achievements
Rank 1
 answered on 04 Jun 2009
6 answers
435 views
Hi how would i open a new window from an existing open window i have the following code but all i get is an ie8 popup message box and the windows doesnt open
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" /> 
Georgi Tunev
Telerik team
 answered on 04 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?