Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
135 views
I am sure I simply missed this config or such option when using the radgrid, but at this poitn I am not sure what the error is coming from.

I have a bound radgrid that shows up with its data fine in all browsers.  However, when i click the pageing function of the grid, it only works in FireFox and IE6.  In IE 7 and IE 8 (including quirks and compatibility modes) it emptys the grid whenever i try to click on any of the paging buttons. 

Is this a bug fix needed or do I need to do something to configure the control that i forgot to do?

Thanks!
Pavlina
Telerik team
 answered on 11 Dec 2009
1 answer
121 views
Hi

I use different paths for the editor and the viewer part of my application.
Editor: http://someurl.com
Viewer: http://someotherurl.com/

When I insert any media (image, movie, file, flash) through one of the managers I use the absolute path. Images (and other media) then get the url http://someurl.com/Images/someimage.jpg when viewing from http://someotherurl.com/.
Absolute path example:
RadEditor.EnableFilter(Telerik.Web.UI.EditorFilters.MakeUrlsAbsolute); 


The problem here is that for Movies and Flash IE uses another url param than other browsers.
Example:
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" width="150" height="150" type="application/x-oleobject"> 
<param name="URL" value="/Media/V2.avi"> 
<embed src="http://someurl.com/Media/V2.avi" width="150" height="150" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer"> 
</object> 

IE uses the value of param with name URL, all other browsers use the src value inside the <embed> tag.

How can I set RadEditor to use absolute paths on the param URL?
Tarjei Knudsen
Top achievements
Rank 1
 answered on 11 Dec 2009
1 answer
107 views
Hi,

I implemented RadCaptcha inside a little form.
I also installed the last realease of ASP.NET ajax for the translation of the CaptchaLinkButtonText and the translation works.
I use on IIS7 the url rewrite.

For this page the url is: matchUrl=customer.htm and the rewrite rule is: Index.aspx?page=22, type Rewrite.
Like this:

<rule name="customer page">  
   <match url="customer.htm" /> 
   <action type="Rewrite" url="Index.aspx?page=22" /> 
</rule> 


If i Use the url rewriting, the refreshlink don't work anymore. The first click, nothing append. The second click I have a Postback to Index.aspx?page=22&page=22 with error off course.
I don't have any problem without URL rewriting, the refresh link work perfectly.

Do I need to specified something in my rewrite rule for the WebResource? The other components (RadToolTip, Ajax) works perfectly.

Any idee of the problem?

In advance thanks for your answer.

Regards,

Edwin.
Pero
Telerik team
 answered on 11 Dec 2009
1 answer
101 views
Hi there,

What I have build here, is a table with multiple Cells (<td>). Almost very Cell has a mouseover and mouseout event that triggers the opaning and closing of a radWindow (via javascript).

The weird problem however, is that everytime I hover on Cell the window's width reduces a few pixels at a time. After hovering on multiple Cells, at a certain point there is nothing left of the window but a mere 1 pixel wide bar. I noticed that the control does not do this when I delete the line:

oWindow.MoveTo(X, Y + element.offsetHeight);

Has anyone had this problem before?

Gr,
Don

Georgi Tunev
Telerik team
 answered on 11 Dec 2009
1 answer
116 views
Hi,

<telerik:RadComboBox ID="RadComboBox2" EnableViewState="false" EnableItemCaching="true"
            EnableLoadOnDemand="true" Filter="Contains"   runat="server" onitemsrequested="RadComboBox2_ItemsRequested" >
        </telerik:RadComboBox>
<asp:Button ID="Button1" runat="server" Text="Ok" onclick="Button1_Click" />

protected void RadComboBox2_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
    {
        RadComboBox2.Items.Add(new RadComboBoxItem("--All--", "0"));
        RadComboBox2.Items.Add(new RadComboBoxItem("Accepted", "1"));
        RadComboBox2.Items.Add(new RadComboBoxItem("Not Accepted", "2"));
        RadComboBox2.Items.Add(new RadComboBoxItem("Pending", "3"));
    }

    protected void Button1_Click(object sender, EventArgs e)
    {
      string s = RadComboBox2.SelectedValue;
    }


If we set true to "EnableLoadOnDemand" we are getting the following problem.

We are filling some values in the combobox. And on type some characters(accepted) the combobox gets filtered accordingly (refer attahced screen shot). Then without selecting the text (Accepted )in the combo press enter. while clicking the button "OK" the Selectedvalue for the entered character in the combobox becomes empty.

For example see the above code: Accepted is having value 1, this becomes empty on click of "OK" button. I think this problem is due to that the combobox is assuming the entered text as new item.

But both are same.How to solve this

Please help me

regards
sathies


Simon
Telerik team
 answered on 11 Dec 2009
5 answers
152 views
I have a tree view control which is in the second position in the tab order on the page.  I can set the focus to this control and tab through the nodes, but when i reach the last node and hit tab, focus is not set on the next control in the tab order.  i'm not sure where the focus gets set after tabbing out of the treeview, but if I tab one or two more times I can see the focus in the address bar of the browser.

I would like to be able to tab out of the treeview control and into the next control in the tab order.

Sean M. Severson


<div class="margin" > 
        <telerik:RadWindowManager ID='aWindowManager1' ShowContentDuringLoad="false" VisibleStatusbar="false" runat='server' Behavior="Default" InitialBehavior="None" Skin="Simple">  
            <Windows> 
<telerik:RadWindow runat="server" NavigateUrl="WC_Territory_Search.aspx" Behaviors="None" Behavior="None" InitialBehavior="None" Width="475px" Height="360px" Left="" Top="" OnClientClose="OnWCTerritoryClose" ID="RadWindow1" Style="display:none;" Modal="True" ReloadOnShow="true">  
                </telerik:RadWindow> 
</Windows> 
        </telerik:RadWindowManager> 
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="False" UpdateMode="Conditional">  
            <ContentTemplate> 
                <div id="header" style="left: 0px" runat="server" > 
                    <table class="SharedEntry + NoBorder" style="width: 750px; border-right: 1px solid;  
                        border-left: 1px solid; border-top: 1px solid; margin-bottom: 0; height: 40px;"> 
                        <caption> 
                            Contact Search</caption> 
                        <tr> 
                            <th class="noborder" style="width: 111px; vertical-align: bottom;">  
                                Contact Type:</th> 
                            <td style="width: 580px; vertical-align: bottom">  
                                <div class="categoryControls">  
                                    <asp:DropDownList ID="Search_ContactType" runat="server" Width="200px" AutoPostBack="True" 
                                        OnSelectedIndexChanged="Search_ContactType_SelectedIndexChanged" TabIndex="5">  
                                    </asp:DropDownList> 
                                </div> 
                                <div class="categoryControls" style="margin-left: 5px">  
                                    <cc3:HelpImageButton ID="HelpImageButton3" runat="server" ImageUrl="/SI/Images/help.ico" 
                                        CausesValidation="False" HelpTopicID="48" Height="20px" Width="20px" TabIndex="-1" /> 
                                </div> 
                                <div class="categoryControls" style="margin-left: 5px">  
                                    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1" 
                                        DisplayAfter="1">  
                                        <ProgressTemplate> 
                                            <img src="/SI/Images/status_anim.gif" alt="Wait" /> 
                                        </ProgressTemplate> 
                                    </asp:UpdateProgress> 
                                </div> 
                            </td> 
                        </tr> 
                    </table> 
                </div> 
                <div id="tree" style="left: 0px; overflow: auto; position: relative" runat="server">  
                    <table class="SharedEntry + NoBorder" style="width: 750px; border-right: 1px solid; border-left: 1px solid; margin-top: 0; margin-bottom: 0;  ">  
                        <tr> 
                            <th class="noborder" style="width: 111px; vertical-align: top;">  
                                Specialty:</th> 
                            <td style="vertical-align: top; width: 580px;">  
                                <telerik:RadTreeView ID="rtvSpecialty" runat="server" Width="550px" BorderStyle="Solid" 
                                    BorderWidth="1px" CheckBoxes="True" Font-Names="Verdana" MultipleSelect="True" 
                                    BackColor="White" Height="100%" OnContextMenuItemClick="RadTreeView1_ContextMenuItemClick" OnClientNodeChecked="treeNodeChecked" 
                                    BorderColor="#7F9DB9" TabIndex="10" > 
                                    <ContextMenus> 
                                        <telerik:RadTreeViewContextMenu runat="server" ID="RadTreeViewContextMenu1">  
                                            <Items> 
                                                <telerik:RadMenuItem runat="server" Text="Clear All Selected">  
                                                </telerik:RadMenuItem> 
                                                <telerik:RadMenuItem runat="server" Text="Expand All">  
                                                </telerik:RadMenuItem> 
                                                <telerik:RadMenuItem runat="server" Text="Collapse All">  
                                                </telerik:RadMenuItem> 
                                            </Items> 
                                        </telerik:RadTreeViewContextMenu> 
                                    </ContextMenus> 
                                </telerik:RadTreeView> 
                            </td> 
                        </tr> 
                    </table> 
                </div> 
            </ContentTemplate> 
            <Triggers> 
                <asp:AsyncPostBackTrigger ControlID="Search_ContactType" EventName="SelectedIndexChanged" /> 
            </Triggers> 
        </asp:UpdatePanel> 
        <div id="footer" runat="server" style="left: 0px;">  
            <table class="SharedEntry + NoBorder" style="width: 750px; border-right: 1px solid;  
                border-left: 1px solid; margin-top: 0; margin-bottom: 0;"> 
                <tr> 
                    <th class="noborder" style="width: 111px">  
                        Business:</th> 
                    <td> 
                        <asp:TextBox ID="Search_Business" runat="server" Width="200" TabIndex="15" MaxLength="90"></asp:TextBox>&nbsp;  
                        </td> 
                    <th class="noborder">  
                        Address Type:</th> 
                    <td style="width: 248px">  
                        <asp:DropDownList ID="Search_AddressType" runat="server" Width="205px" TabIndex="50">  
                            <asp:ListItem></asp:ListItem> 
                            <asp:ListItem Value="P">Primary</asp:ListItem> 
                            <asp:ListItem Value="S">Secondary</asp:ListItem> 
                            <asp:ListItem Value="B">Billing</asp:ListItem> 
                            <asp:ListItem>Unknown</asp:ListItem> 
                        </asp:DropDownList></td>  
                </tr> 
                <tr> 
                    <th class="noborder" style="width: 111px">  
                        First Name:</th> 
                    <td> 
                        <asp:TextBox ID="Search_First_Name" runat="server" Width="200" Font-Italic="False" 
                            TabIndex="20" MaxLength="45"></asp:TextBox></td>  
                    <th class="noborder">  
                        Address:</th> 
                    <td style="width: 248px">  
                        <asp:TextBox ID="Search_Address1" runat="server" Width="200px" Enabled="False" Font-Italic="False" 
                            TabIndex="55" MaxLength="30">Select Address Type</asp:TextBox></td>  
                </tr> 
                <tr> 
                    <th class="noborder" style="width: 111px">  
                        Last Name:</th> 
                    <td> 
                        <asp:TextBox ID="Search_Last_Name" runat="server" Width="200" TabIndex="25" MaxLength="45"></asp:TextBox></td>  
                    <th class="noborder">  
                        City:</th> 
                    <td style="width: 248px">  
                        <asp:TextBox ID="Search_City" runat="server" Width="200px" Enabled="False" Font-Italic="False" 
                            TabIndex="60" MaxLength="30">Select Address Type</asp:TextBox></td>  
                </tr> 
                <tr> 
                    <th class="noborder" style="width: 111px">  
                        TIN Number:</th> 
                    <td> 
                        <asp:TextBox ID="Search_TIN_Number" runat="server" Width="200" TabIndex="30" MaxLength="9"></asp:TextBox></td>  
                    <th class="noborder">  
                        State:</th> 
                    <td style="width: 248px">  
                        <telerik:RadComboBox ID="Search_State" runat="server" Width="205px" AppendDataBoundItems="True" 
                            EnableEmbeddedSkins="False" Skin="WindowsXP" Enabled="False" TabIndex="65">  
                            <ExpandAnimation Type="None"></ExpandAnimation> 
                            <CollapseAnimation Type="None"></CollapseAnimation> 
                        </telerik:RadComboBox> 
                    </td> 
                </tr> 
                <tr> 
                    <th class="noborder" style="width: 111px">  
                        NPI Number:</th> 
                    <td> 
                        <asp:TextBox ID="Search_NPI_Number" runat="server" Width="200" TabIndex="35" MaxLength="10"></asp:TextBox></td>  
                    <th class="noborder">  
                        Zip:</th> 
                    <td style="width: 248px">  
                           <div style="float: left">  
                        <asp:TextBox ID="Search_Zip" runat="server" Width="200px" Enabled="False" Font-Italic="False" 
                            TabIndex="70">Select Address Type</asp:TextBox> 
                            </div> 
                        <div style="float: left; margin-left: 5px; margin-top: 3px"><asp:RegularExpressionValidator ID="regexAccidentZip" runat="server" ControlToValidate="Search_Zip" 
                            Display="Dynamic" ErrorMessage="RegularExpressionValidator" ValidationExpression="_____-____|\d{5}-____|\d{5}-\d{4}|\d{5}|Select Address Type" TabIndex="-1"><img src='/SI/Images/warning16.png' alt='Enter a valid Zip Code'/></asp:RegularExpressionValidator> 
                        </div> 
                        <cc2:MaskedEditExtender id="mskextZip" runat="server" ClearMaskOnLostFocus="false" 
                            Filtered="-" Mask="99999-9999" MaskType="None" TargetControlID="Search_Zip">  
                        </cc2:MaskedEditExtender></td>  
                </tr> 
                <tr> 
                    <th class="noborder" style="width: 111px; height: 24px;">  
                        Licensed State:</th> 
                    <td> 
                        <cc3:EditTableDropDownList ID="Search_LicenseState" runat="server" RepositoryProperty="ContactLicensedStates" 
                            Width="205px" IncludeEmptyOption="True" TabIndex="40">  
                        </cc3:EditTableDropDownList> 
                    </td> 
                    <th class="noborder">  
                        County:</th> 
                    <td style="width: 248px">  
                        <telerik:RadComboBox ID="Search_County" runat="server" Width="205px" AppendDataBoundItems="True" 
                            EnableEmbeddedSkins="False" Skin="WindowsXP" Enabled="False" TabIndex="75">  
                            <ExpandAnimation Type="None" /> 
                            <CollapseAnimation Type="None" /> 
                        </telerik:RadComboBox> 
                    </td> 
                </tr> 
                <tr> 
                    <th class="noborder" style="width: 111px;">  
                        WC Territory:</th> 
                    <td > 
                        <div style="float: left">  
                            <asp:TextBox ID="Search_WC_Territory" runat="server" Width="200" TabIndex="45" MaxLength="25"></asp:TextBox> 
                        </div> 
                        <div style="float: left;margin-left: 5px">  
                            <asp:ImageButton id="Img4" runat="server" ImageUrl="/SI/Images/check.png" alt="Check" border="0" TabIndex="-1" /> 
                        </div> 
                        <div style="float: left; margin-left: 5px">  
                            <cc3:HelpImageButton ID="HelpImageButton1" runat="server" ImageUrl="/SI/Images/help.ico" 
                                CausesValidation="False" Height="20px" Width="20px" HelpTopicID="51" TabIndex="-1" /> 
                        </div> 
                    </td> 
                    <th class="noborder">  
                        PAL Territory:</th> 
                    <td style="width: 248px">  
 
                                <div style="float: left">  
                                    <telerik:RadComboBox ID="Search_PAL_Territory" runat="server" OnClientDropDownOpened="OnClientDropDownOpenedHandler" 
                                        Width="205px" ShowToggleImage="true" TabIndex="80" EnableEmbeddedSkins="False" 
                                        Skin="WindowsXP">  
                                        <Items> 
                                            <telerik:RadComboBoxItem runat="server"></telerik:RadComboBoxItem> 
                                        </Items> 
                                        <ItemTemplate> 
                                            <div id="div1">  
                                                <telerik:RadTreeView ID="palTerritoryTreeView" runat="server" OnClientNodeClicking="nodeClicking" CheckBoxes="false">  
                                                    <Nodes> 
                                                    </Nodes> 
                                                </telerik:RadTreeView> 
                                            </div> 
                                        </ItemTemplate> 
                                        <ExpandAnimation Type="None" /> 
                                        <CollapseAnimation Type="None" /> 
                                    </telerik:RadComboBox> 
                                    </div> 
                                <div style="margin-left: 5px; float: left">  
                                    <cc3:HelpImageButton ID="HelpImageButton2" runat="server" ImageUrl="/SI/Images/help.ico" 
                                        CausesValidation="False" Height="20px" Width="20px" HelpTopicID="52" TabIndex="-1"/>  
                                </div> 
 
                    </td> 
                </tr> 
                </table> 
                <table class="SharedEntry + NoBorder" style="width: 750px; border-right: 1px solid;  
                border-left: 1px solid; border-bottom: 1px solid; margin-top: 0; margin-bottom: 0;"> 
                  
                <tr> 
                    <td colspan="4">  
                        <table border="0" width="100%">  
                            <tr> 
                                <td align="left" width="20%" style="height: 26px">  
                                    <asp:LinkButton ID="lnkHome" runat="server" Font-Size="Medium" Text="Claim Contacts" 
                                        Visible="False" TabIndex="-1"></asp:LinkButton></td>  
                                <td class="center" width="60%" style="height: 26px">  
                                    <asp:Button ID="btnSearch" runat="server" Text="Search" Width="64px" TabIndex="85" /> 
                                    <asp:Button ID="btnClear" runat="server" Text="Clear" Width="64px" TabIndex="90" /></td>  
                                <td align="right" width="20%" style="height: 26px">  
                                    </td> 
                            </tr> 
                        </table> 
                        </td> 
                </tr> 
                </table> 
              
        </div> 
    </div> 
Yana
Telerik team
 answered on 11 Dec 2009
1 answer
97 views
Here is a brief description of the problem. A RadWindow is invoked from a page that has a master page. On the master page a RadMenu exists. When the RadWindow is invoked in Modal, the controls on page behind it are 'disabled' as expected however, the RadMenu is still active (enabled). Is there a way to get this menu to perform like the rest of the controls on the page with RadWindow is Modal and then set back enabled once the RadWindow is closed? Some of the difficulty involved is that the RadWindow uses the same master page for look and feel purposes. I can of course manipulate the controls in the RadWindow as they relate to the master page but not on the page that invoked the RadWindow. Thanks in advance for any insight into the issue.
Georgi Tunev
Telerik team
 answered on 11 Dec 2009
1 answer
106 views
Hi Everyone,

Has anybody seen a demo or forum post that might help me out with this issue?

What I'm looking to do is to have a RadGrid with in-line editing.  I have three columns, "Category", "Question", and "Answer", which I'd like to use drop down lists for.

However, what I'm looking to do is when a "Category" is selected, to repopulate the drop down list of "Questions".  Also, when a "Question" is selected, I'd want to repopulate the drop down for "Answers"

I checked out the demo here:  Grid / Automatic Operations and this is close to what I'm looking for, however it does not have the hierarchical drop downs.

Any ideas/comments/suggestions would be greatly appreciated.
Jason
Top achievements
Rank 1
 answered on 11 Dec 2009
4 answers
203 views

Hi All, 

I have an hierarchical grid with 3 levels (MasterTableView and 2 DetailTables) and <telerik:GridClientSelectColumn /> in the inner  most view.
I want to export only those rows selected in the inner most view along with their parent view rows.
Could not find a solution to get the selected rows ids and export only the selected. Please help me to point to the right resource to resolve the issue. Thanks.

 

Pavlina
Telerik team
 answered on 11 Dec 2009
3 answers
115 views
I've got a combo box in a user control and the scrollbars don't appear using FF on a mac. I'm using the black skin and it appears to work ok via the online demos site... Anything I should look at if it's in a user control?
Simon
Telerik team
 answered on 11 Dec 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?