Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
63 views
Hello,

I'm creating a website in which I am trying to implement the functionality of a radgrid with button columns that open a radwindow on command. That functionality is working as expected, however, the radwindow is appearing under the radmenu on the master page. Please see the attached screenshot. This is working correctly when testing in IE.

Is there some setting I may be missing?

Thanks,
Casey
Casey
Top achievements
Rank 1
 answered on 28 Oct 2011
4 answers
396 views
Hi, everyone. I'm posting a novice question but it seems I am missing something obvious and I can't find it. Any hint, point to documentation or to a specific tutorial, if exist, would be greatly appreciated.

I'm using themes in my website. Telerik RadFormDecorator does not skin every control. For example, if I'm using Hay theme, I would want to have my tables having the same border color as the grid borders. I would want to have my disabled textboxes having the same backcolor as grid's FooterItem backcolor. I would want to have my <hr /> to be drawn using grid's border forecolor. And so on.

On the other hand, if I change the theme, I would like to have those colors changed automatically, in order to keep them in sync with the new selected theme.

Is this possible? How? I am not looking for ready-to-use code, but pointing me to the right direction would be great help.

Thank you.
Grigore Dolghin
Top achievements
Rank 1
 answered on 27 Oct 2011
9 answers
197 views
Hi,
I have been playing abround with the asp controls, more specifically the layout controls like RadSplitter and RadSlidingZones/Panels. What I am looking to do is to populate part of a page from a separate aspx (kind of like frame functionality) and maybe use Ajax to populate that part of the page. eg. I have a treeview that is static down the left hand side and have different pages I want to display on the right, hopefully loading them ajax-style.

Any ideas/suggestions on how best to achieve this using the Telerik bits?

milos
Top achievements
Rank 1
 answered on 27 Oct 2011
3 answers
152 views
Hi,
I am having problem getting the tooltips to work in the RadListBox. It works fine when I turn the EnableLoadOnDemand=false. But when I turn the EnableLoadOnDemand=true, only the first item in the list box works, the rest are not working. I have read a lot of different solutions but none works for me. Any idea how to do it? Thanks a lot!

protected void OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args)
{
    this.UpdateToolTip(args.Value, args.UpdatePanel);
}
  
private void UpdateToolTip(string elementID, UpdatePanel panel)
{
    Control ctrl = Page.LoadControl("PopupSampleDetails.ascx");
    panel.ContentTemplateContainer.Controls.Add(ctrl);
    Mayvien_PopupSampleDetails details = (Mayvien_PopupSampleDetails)ctrl;
  
    int position = elementID.IndexOf("#@#");
    string type = elementID.Substring(0, position);
    string id = elementID.Substring(position + 3, elementID.Length - (type.Length + 3));
    details.Type = type;
    details.SampleID = id;
}
  
  
  
protected void RadListBox1_ItemDataBound(object sender, Telerik.Web.UI.RadListBoxItemEventArgs e)
{
    for (int i = 1; i <= 5; i++)
    {
        string imageFieldName = "SampleImage" + i;
        Control SampleImage = e.Item.FindControl(imageFieldName);
        if (!Object.Equals(SampleImage, null))
        {
            if (!SampleImage.Visible)
                break;
  
            if (!Object.Equals(RadToolTipManager1, null))
            {
                // add to tooltip manager
                System.Web.UI.WebControls.Image image = (System.Web.UI.WebControls.Image)SampleImage;
                string sample_id = image.AlternateText;
                RadToolTipManager1.TargetControls.Add(image.ClientID, sample_id, true);
            }
        }
    }
}

        
<telerik:RadListBox ID="RadListBox1" runat="server" Height="700" Width="100%" EnableLoadOnDemand="true" SelectionMode="Multiple" LoadingPanelID="LoadingPanel1" OnItemDataBound="RadListBox1_ItemDataBound" OnItemCommand="RadListBox1_ItemCommand">
    <ItemTemplate>
        <asp:HiddenField ID="hiddenSampleSetId" runat="server" Value='<%# Eval("sample_set_id") %>' />
        <asp:HiddenField ID="hiddenLookbookId" runat="server" Value='<%# Eval("lookbook_id") %>' />
        <asp:Literal ID="headerLiteral" Text='<%# Eval("header")%>' runat="server" /><br />
        <asp:Panel ID="pnlImages" style="float: left; padding:5px; width:100%;" runat="server">
            <table>
                <tr>
                    <td valign="top">
                        <asp:Image ID="SampleImage1" runat="server" BorderWidth="1" BorderStyle="Solid" ImageUrl='<%# Eval("image1") %>' Visible='<%# Eval("image1_visible") %>' style="max-width:100px;" AlternateText='<%# Eval("image1_alt") %>' />
                    </td>
                    <td valign="top">
                        <asp:Image ID="SampleImage2" runat="server" BorderWidth="1" BorderStyle="Solid" ImageUrl='<%# Eval("image2") %>' Visible='<%# Eval("image2_visible") %>' style="max-width:100px;" AlternateText='<%# Eval("image2_alt") %>' />
                    </td>
                    <td valign="top">
                        <asp:Image ID="SampleImage3" runat="server" BorderWidth="1" BorderStyle="Solid" ImageUrl='<%# Eval("image3") %>' Visible='<%# Eval("image3_visible") %>' style="max-width:100px;" AlternateText='<%# Eval("image3_alt") %>' />
                    </td>
                    <td valign="top">
                        <asp:Image ID="SampleImage4" runat="server" BorderWidth="1" BorderStyle="Solid" ImageUrl='<%# Eval("image4") %>' Visible='<%# Eval("image4_visible") %>' style="max-width:100px;" AlternateText='<%# Eval("image4_alt") %>' />
                    </td>
                    <td valign="top">
                        <asp:Image ID="SampleImage5" runat="server" BorderWidth="1" BorderStyle="Solid" ImageUrl='<%# Eval("image5") %>' Visible='<%# Eval("image5_visible") %>' style="max-width:100px;" AlternateText='<%# Eval("image5_alt") %>' />
                    </td>
                </tr>
                <tr>
                    <td valign="bottom" align="right" colspan="5">
                        <%# Eval("extra_text") %>
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </ItemTemplate>
    <Items>
    </Items>
</telerik:RadListBox>

William
Top achievements
Rank 1
 answered on 27 Oct 2011
3 answers
97 views
I'm on v2011.2.915.40.

When I am developing locally, it seems lik the RadStyleSheetManager is locking the CSS files that I include.

If I want to modify the CSS file, I have to recycle the app pool before the file is released to be saved.

Is this a known issue?

I would expect this control to use a file dependency to track when it changes but would not expect the control to do somethig that would lock the file from being updated.

Thanks,
Kevin
Kevin Warnke
Top achievements
Rank 1
 answered on 27 Oct 2011
8 answers
228 views
I have a data grid that I'm exporting with filters.
I use two type of filters, "fill in the blank" and "combo box values". The ones that use "fill in the blank" are exported to excel correctly, they are in the first row of the datagrid. The filters that use "combo box values" do not show the selected value, the data is correctly filtered but the filter selection isn't shown in the first row.


Attached is an example of what I have and what I want. 

Amy Liu
Top achievements
Rank 1
 answered on 27 Oct 2011
5 answers
249 views
Hi Everyone,

I am launching RadWindows from context menus associated with TreeViews and Grids.  For performance reasons, I would like to launch those RadWindows via JavaScript.

My problem is that my application is a consumer application, so security is an issue.  Thus, my URL parameters must be encrypted.  As far as I know, there is no "good" way to (1) encrypt URL parameters via JavaScript or (2) set session variables via JavaScript.  

I am writing to see if anyone has developed a "slick" way to handle this problem.  All of the solutions that I have thought of are ugly.

Thanks!

Jim

P.S.  Side note, launching RadWindows from the server is not my desired solution.  In this app, I need to cut out the time cost of postbacks, etc, as much as possible.  Thanks!
James
Top achievements
Rank 1
 answered on 27 Oct 2011
2 answers
60 views
Hi,

How can I get the value of the posted menu item after the ribbon is postbacked on serverside?
I dont want to use the RadRibbonBar1_MenuItemClick event.

I want something like:
RadRibbonBar RibbonBar = (RadRibbonBar)Master.FindControl("RadRibbonBar1");
RibbonBar.Value  ...... ( ?????)

Please do let me know how can I achieve such scenario.

Thanks,
Bilal Ghalayini
Bilal
Top achievements
Rank 1
 answered on 27 Oct 2011
7 answers
137 views
Hello,

I have a grid control with context menu attached to the rows. When some item is being edited in place, I cannot use mouse right-click to access standard browser context menu to paste some data to a text box. The same is with filter text box. Is there a way to show standard context menu when click is made over some input control?
Sebastian
Telerik team
 answered on 27 Oct 2011
1 answer
105 views
Hi
I've started to use the radRibbonBar control following the demo example, but I've noticed that in WebKit-based browsers (Both Chrome & Safari) the buttons in the Paragraph RibbonBarGroup of the Home RibbonTab don't render connrectly at first load, if I switch to another ribbon tab and then back to the Home tab the button will render correctly.
There is another strange thing that happens, the incorrect render is diferent every time I refresh the page

In the attached image you can see the error on chrome as an example.

Thank you in advance
Ivan Zhekov
Telerik team
 answered on 27 Oct 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?