Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
123 views
Hi all,
 For the javascript validations i am using the Rad alert instead of using browsers default alert.
Now i am facing the problem under the ModalPopupExtender i am having text boxes and when i am clicking on the "Submit" button i have to get the rad alert that "Please enter a value". But the rad alert is firing but it is behind the ModalPopupExtender.


My question clearly meant : I want the rad alert above the ModalPopupExtender .


Waiting for the reply...

ThanQ,
Vara Prasad.M

prasad
Top achievements
Rank 2
 answered on 07 Nov 2009
1 answer
142 views
The DestroyOnClose property seems to be ignored (treated as always FALSE) with the latest Q3 release (downloaded this morning).

Pages that worked fine prior to upgrading to Q3, now load and display every RadWindow that the page has ever displayed, on postback. So if I click a button to display a window then close it and click the button again, it will display 2 copies of the window. If I close it and click the button again, it will display 3 copies of the window (and so on). This behavior occurs with RadGrid popup windows as well.

      
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="btnCreateAccount">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadWindowManager1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="lnkPasswordRecovery">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadWindowManager1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="lnkPrivacy">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadWindowManager1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="lnkSecurity">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadWindowManager1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
      
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" 
        DestroyOnClose="true" 
        Behaviors="Close,Move"   
        Modal="false" 
        KeepInScreenBounds="true" 
        VisibleStatusbar="false"    
        VisibleOnPageLoad="true" 
        Animation="None"        
        > 
    </telerik:RadWindowManager> 
     

As various buttons are clicked, I add RadWindows to the RadWindowManager in the codebehind (typically just setting NavigateUrl, Height, and Width).

        Dim rw As New RadWindow  
        With rw  
            .NavigateUrl = NavigateUrl  
            .Height = Height  
            .Width = Width  
        End With 
 
        ' Add it to the RadWindowManager's Windows collection  
        rwManager.Windows.Add(rw)  

So if I click a button that loads a RadWindow, close the Window, then click the button again it will display BOTH the first window and the second. Even the overlay gets loaded multiple times.

Like I mentioned, this works perfectly with Q2, the behavior is consistent on all my pages that use the RadWindow. Please advise, thanks!
KDL
Top achievements
Rank 1
 answered on 07 Nov 2009
5 answers
375 views
Hi,
  Few questions about the expand/collapse button in hierarchical grid.
  1.  Is there a way to move the expand/collapse button to the right side of the grid?
  2.  If there is no way to move it, then is there a way to make it invisible?
  3.  I manually added a GridExpandColumn column to my grid, but I got this error message.  Please help me fix it.
    Multiple controls with the same ID 'GECBtnExpandColumn' were found. FindControl requires that controls have unique IDs.


Thanks.
Yuvika
Top achievements
Rank 1
 answered on 07 Nov 2009
7 answers
325 views
I running into a problem whereby the Skin styles are not applied to a DatePicker control.The effect is that the calendar cannot be opened (even though it shows my icons which are set manually). The DatePicker is on a custom UserControl used for editing a RadGrid which itself is on a page with a DesignMaster. The RadGrid has the Office2007 skin applied by virtue of a .skin file and theme.

<telerik:RadGrid ID="ValueGrid" runat="server" AutoGenerateColumns="False" 
    Width="100%" GridLines="Horizontal" 
    AllowAutomaticDeletes="true" AllowAutomaticInserts="false" AllowAutomaticUpdates="false"  
    OnNeedDataSource="ValueGrid_NeedDataSource" 
    OnItemDataBound="ValueGrid_ItemDataBound"  
    OnDeleteCommand="ValueGrid_DeleteCommand"  
    OnInsertCommand="ValueGrid_InsertCommand"  
    OnUpdateCommand="ValueGrid_UpdateCommand"
    <MasterTableView DataKeyNames="Key" CommandItemDisplay="Top" 
        NoMasterRecordsText="No additional info data for this contract." 
        ShowHeadersWhenNoRecords="true"
        <Columns> 
            <telerik:GridButtonColumn CommandName="Edit" ButtonType="ImageButton" Text="Edit"  
                UniqueName="EditCommandColumn" 
                ImageUrl="~/App_Themes/Default/buttons/grid_edit.jpg"
                <HeaderStyle Width="20px" /> 
            </telerik:GridButtonColumn> 
 
            <telerik:GridTemplateColumn DataField="Attribute" HeaderText="Type"
                <HeaderStyle Width="100px" /> 
                <ItemStyle Width="100px" /> 
                <ItemTemplate> 
                    <asp:Literal ID="AttributeLabel" runat="server"  
                        Text='<%#DataBinder.Eval(Container, "DataItem.Attribute.Name") %>' /> 
                </ItemTemplate> 
            </telerik:GridTemplateColumn> 
 
            <telerik:GridTemplateColumn HeaderText="Value"
                <HeaderStyle Width="300px" /> 
                <ItemStyle Width="300px" /> 
                <ItemTemplate> 
                    <asp:Literal ID="ValueLabel" runat="server"  
                        Text='<%# ((AttributeValue)DataBinder.Eval(Container, "DataItem")).DisplayMarkup %>' /> 
                </ItemTemplate> 
            </telerik:GridTemplateColumn> 
 
            <telerik:GridBoundColumn DataField="Note" HeaderText="Note"
                <HeaderStyle Width="150px" /> 
                <ItemStyle Width="150px" /> 
            </telerik:GridBoundColumn> 
 
            <telerik:GridButtonColumn ButtonType="ImageButton" UniqueName="DeleteColumn" CommandName="Delete" 
                ImageUrl="~/App_Themes/Default/buttons/grid_delete.jpg"  
                ConfirmText="<%$Resources:AvailsResources, DeleteConfirmationGeneral%>"
                <HeaderStyle Width="20px" /> 
            </telerik:GridButtonColumn> 
        </Columns> 
        <CommandItemSettings AddNewRecordText="Add" /> 
        <EditFormSettings  
            UserControlName="~/Controls/AttributeValueEdit.ascx"  
            EditFormType="WebUserControl" > 
            <EditColumn ButtonType="ImageButton"  
                InsertImageUrl="~/App_Themes/Default/buttons/grid_add.jpg"  
                UpdateImageUrl="~/App_Themes/Default/buttons/grid_update.jpg" 
                CancelImageUrl="~/App_Themes/Default/buttons/grid_cancel.jpg"
            </EditColumn> 
        </EditFormSettings> 
    </MasterTableView> 
</telerik:RadGrid> 

Here is the UserControl markup:
<table class="standardTable"
    <colgroup> 
        <col width="80px" /> 
        <col width="100%" /> 
    </colgroup> 
    <tr> 
        <td> 
            <asp:Label ID="AttributeLabel" runat="server" meta:resourcekey="AttributeLabel" /></td
        <td> 
            <asp:DropDownList ID="AttributeEdit" runat="server" AutoPostBack="True"  
                Width="200px" 
                DataValueField="Key" DataTextField="Name" 
                OnSelectedIndexChanged="AttributeEdit_SelectedIndexChanged"
            </asp:DropDownList> 
        </td> 
    </tr> 
    <tr> 
        <td> 
            <asp:Label ID="ValueLabel" runat="server" meta:resourcekey="ValueLabel" /> 
        </td> 
        <td
            <telerik:RadDatePicker ID="ValueDateEdit" runat="server" Width="104px" Skin="Web20"
                <Calendar ID="ValueDateCalendar" runat="server" Skin="Web20"
                </Calendar> 
                <DateInput runat="server" EnabledStyle-HorizontalAlign="Right" Skin="Default" MinDate="1900-01-01" DateFormat="<%$ SystemSetting:ShortDatePattern %>" /> 
                <DatePopupButton ImageUrl="~/App_Themes/Default/icons/icon_datePickerPopup.gif"  
                    HoverImageUrl="~/App_Themes/Default/icons/icon_datePickerPopupHover.gif" /> 
            </telerik:RadDatePicker> 
        </td> 
    </tr> 
    <tr> 
        <td> 
            <asp:Label ID="NoteLabel" runat="server" meta:resourcekey="NoteLabel" /></td
        <td> 
            <asp:TextBox ID="NoteEdit" runat="server" Width="150px" /> 
        </td> 
    </tr> 
    <tr> 
        <td colspan="2"
            <asp:Button ID="SaveButton" runat="server" CommandName="Update" meta:resourcekey="SaveButton" /> 
            <asp:Button ID="CancelButton" runat="server" meta:resourcekey="CancelButton" 
                CausesValidation="False" CommandName="Cancel" /> 
        </td> 
    </tr> 
</table>  

The style "standardTable" is defined as follows:
table.standardTable 
    table-layout    :   fixed; 
    border      :   none 0px; 
    border-collapse :   collapse; 
    border-spacing  :   0px; 
table.standardTable select, table.standardTable input 
    font            :   menu; 
 

Anupam Godbole
Top achievements
Rank 1
 answered on 06 Nov 2009
1 answer
164 views
(Q2 2009)
Hi, my new issue is, how can i show a popup window from my hyperlinks of my radgrid, i'm triying to call another aspx but in a popup window. thanks

protected void tk_Grid_ItemDataBound(object sender, GridItemEventArgs e) 
    { 
 if (e.Item is GridDataItem) 
        { 
            GridDataItem dataItem = (GridDataItem)e.Item; 
 
            HyperLink h1 = new HyperLink(); 
            h1.NavigateUrl = "frmAnexoBalance.aspx?Periodo=APERTURA&MesID=0&TCID=0&GGPPID=" + dataItem["FormatoGananciaPerdidaID"].Text.Trim() + "&FBID=0";             
            //h1.Target"blank"
            h1.Text = dataItem.GetDataKeyValue("Apertura").ToString(); 
            h1.CssClass = "gridtext";             
            dataItem["Apertura"].Controls.Add(h1); 

Regards Gino.


Schlurk
Top achievements
Rank 2
 answered on 06 Nov 2009
1 answer
82 views
Hello,

Whenever I edit a row on radgrid, it appears that the whole grid is sent back by the server. I am editing the row with a modal popup box that is filled with a webusercontrol.

When I watch the traffic (with fiddler), it looks like this:

Initial load of grid: 123K
Entering Edit mode on a row: 184K
Exiting Edit mode: 117K

Two things I like to do:
1) When I enter editmode, only what is required for the popup to show would be sent.
2) When I exit edit mode, the popup would disappear and only the editedrow would be refreshed by the server.

Is this possible?
Edited: I am using RadAjaxManager and RadScriptManager on the page.

Thanks,
 
Sylvain

Schlurk
Top achievements
Rank 2
 answered on 06 Nov 2009
3 answers
295 views
I'm getting the following Spell Check Handler Server Error.  I have followed the instructions to add spellchecking for my radeditor, including making sure the radspell directory and its contents is in the App_Data folder and adding the handler in my web.config.  I added it manually by pasting in <add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/> and I had added it automatically, and note that the handler

<

 

add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

 

 

 

validate="false" />

 

was already in there.  They're both in now and I'm still getting the error.  Any ideas?  The error comes up when I try to click on the spellcheck button.

One potential issue: I'm trying to run RadEditor and RadEditor for Ajax on the same site for testing purposes.  Would there be conflicts?

Thanks.

Laurie

And here's the error message I'm getting in a pop-up:


Spell Check Handler Server Error:500
<html>

    <head>

        <title>Configuration Error</title>

        <style>

         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}

         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}

         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}

         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }

         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }

         pre {font-family:"Lucida Console";font-size: .9em}

         .marker {font-weight: bold; color: black;text-decoration: none;}

         .version {color: gray;}

         .error {margin-bottom: 10px;}

         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

        </style>

    </head>

 

    <body bgcolor="white">

 

            <span><H1>Server Error in '/AgPlanDev' Application.<hr width=100% size=1 color=silver></H1>

 

            <h2> <i>Configuration Error</i> </h2></span>

 

            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

 

            <b> Description: </b>An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

            <br><br>

 

            <b> Parser Error Message: </b>Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)<br><br>

 

            <b>Source Error:</b> <br><br>

 

            <table width=100% bgcolor="#ffffcc">

               <tr>

                  <td>

                      <code><pre>

 

Line 57:     validate=&quot;false&quot; /&gt;

Line 58:    &lt;add verb=&quot;*&quot; validate=&quot;false&quot; path=&quot;Telerik.Web.UI.SpellCheckHandler.axd&quot; type=&quot;Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI&quot;/&gt;

<font color=red>Line 59:    &lt;add path=&quot;Telerik.Web.UI.SpellCheckHandler.axd&quot; verb=&quot;*&quot; type=&quot;Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4&quot;

</font>Line 60:     validate=&quot;false&quot; /&gt;

Line 61:    &lt;add path=&quot;Telerik.Web.UI.DialogHandler.aspx&quot; verb=&quot;*&quot; type=&quot;Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.2.1001.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4&quot;</pre></code>

 

                  </td>

               </tr>

            </table>

 

            <br>

 

            <b> Source File: </b> C:\websites\CFFM\BizPlan\working folder\AgPlanDev\web.config<b> &nbsp;&nbsp; Line: </b> 59

            <br><br>

 

            <b>Assembly Load Trace:</b> The following information can be helpful to determine why the assembly 'Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' could not be loaded.<br><br>

 

            <table width=100% bgcolor="#ffffcc">

               <tr>

                  <td>

                      <code><pre>

 

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

</pre></code>

 

                  </td>

               </tr>

            </table>

 

            <br>

 

            <hr width=100% size=1 color=silver>

 

 

Laurie
Top achievements
Rank 2
 answered on 06 Nov 2009
1 answer
86 views
I am using a RadGrid with EditMode set to Popup. I would like to be able to change the image in the title bar. (See attached). I found the entries for changing the text format but not for the close (x) button. Please let me know how this can be changed.

Lauren Kirschner
Lauren
Top achievements
Rank 1
 answered on 06 Nov 2009
4 answers
164 views
Hi Telerik-Team

Since version Q3 a probleme occur if the cursor  moves over the tapsrtip in the radwindow. This happens only on client side without any postback to codebehind. There are no defined action on the tabs. Only the thinks are defined trough the CSS-Class or Skin. Here I use Office2007 Skin. See also the atchemnt. The error is "className  is null or no object".

Thanks a lot.
Matt
Top achievements
Rank 1
 answered on 06 Nov 2009
1 answer
116 views
I have a RadGrid in a UserControl (.ascx) file.  In the javascript, I want to get a reference to the grid itself.  However, calling

 $find("<%= UserContactsGrid.ClientID %>") 

returns null.  Is there a problem with finding grids inside of ascx controls?

Thanks.
Daniel
Telerik team
 answered on 06 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?