Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
116 views
I am trying to use the skin objects for DNN. Specifically RadPanelBar, I want to display root level pages using a horizontal menu at the top of the page (currently using DNNMenu), and a vertical list on the side of the page to display child pages using RadPanelBar. Everything seems to work ok except when a page in the panel bar is clicked, it does not receive the .rpSelected class. I want to apply a style to the item that the user clicked to indicate the page in the panelbar the user is currently viewing.

 I have added the panelbar to my skin using the following statement:
<dnn:RadPanelbar runat="server" id= "dnnPanelbar_sli" ShowOnlyCurrent="RootItem" Skin="sli" EnableEmbeddedSkins="false"  EnableEmbeddedBaseStylesheet="false" /> 

Any feedback would be appreciated.
Genady Sergeev
Telerik team
 answered on 16 Nov 2011
2 answers
136 views
Hi,

Does anyone know if there is anyway that you can change the transparency or even set the back color when using the tooltip with modality. I'm trying to completely blank the rest of my page don't want any transparency.

Many thanks,
Fraser
Fraser
Top achievements
Rank 1
 answered on 16 Nov 2011
5 answers
231 views
Hi,
I have a big problem on my gridview.... I load my gridview with a dataset in the OnNeedDataSource event. All seems ok.. But, when i filter one of the columns, i lose then my selection when i try to edit a record or when i change the page of my grid... It seems the every postback event makes lose every filter parameters.

Any idea ?
Riccardo
Top achievements
Rank 1
 answered on 16 Nov 2011
3 answers
95 views
Hello everybody,

I have a problem with setting the DropDownWidth property from server-side.

I use RadComboBox as a FilterTemplate on my RadGrid.

this is what I launch when I click RadComboBox:

protected void list_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)
        {
            Current_rcb_Width = 0;
            if (((RadComboBox)o).DataTextField == "nazwa_")
                ((RadComboBox)o).DataSource = GetDataTable("SELECT DISTINCT " + ((RadComboBox)o).DataTextField + jezyk + " as nazwa_ FROM katalog_produktow WHERE " + ((RadComboBox)o).DataTextField + jezyk + " LIKE '" + e.Text + "%' order by " + ((RadComboBox)o).DataTextField + jezyk);
            else
                ((RadComboBox)o).DataSource = GetDataTable("SELECT DISTINCT " + ((RadComboBox)o).DataTextField + " FROM katalog_produktow WHERE " + ((RadComboBox)o).DataTextField + " LIKE '" + e.Text + "%' order by " + ((RadComboBox)o).DataTextField);
 
 
            var cbox = ((RadComboBox)o);
            int MaxWidth = 0;
 
            foreach (DataRow row in (((RadComboBox)o).DataSource as DataTable).Rows)
            {
                int Width = TextWidth(row[((RadComboBox)o).DataTextField].ToString());
                if (Width > MaxWidth)
                {
                    MaxWidth = Width;
                }
            }
            cbox.DropDownWidth = new Unit(MaxWidth);
            ((RadComboBox)o).DataBind();
        }

and I checked that the code properly changed the DropDownWidth property but the size of the DropDown is still the same.
I believe I've put the code in wrong place. 

I tried using the code from:
http://www.telerik.com/community/code-library/aspnet-ajax/combobox/dynamic-dropdown-width.aspx

but it didn't work. It ran 2 times (don't know why).

During 1st time It doesn't find any Items in RadComboBox so it's setting the DropDownWidth as 155px (initial value from code).
During 2nd time it found all elements and calculated the proper width. It did set the property but on page it was still visible as 155px.

Here's my ComboBox code:

<telerik:RadComboBox ID="rcbnazwa" runat="server" ShowToggleImage="false" EnableLoadOnDemand="true" OnItemsRequested="list_ItemsRequested" OnDataBound="RadComboBox1_DataBound"
                                MarkFirstMatch="true" Skin="Office2007" OnSelectedIndexChanged="rcbContinents_SelectedIndexChanged" DataTextField="nazwa_" Font-Size="X-Small"
                                DataValueField="nazwa_" OnPreRender="rcbContinents_PreRender" AutoPostBack="true" Width="100%">
                            </telerik:RadComboBox>


Dimitar Terziev
Telerik team
 answered on 16 Nov 2011
4 answers
440 views
Hello,

In a RadWindow I thought I had interpreted the documentation correctly and added the following code to replace the default menu icon in the title bar. It is behaving as though the image was not found (in other words no menu icon but my image doesn't show either) but that doesn't seem likely as the path works fine for other css url statements. I have tried both image types.
.RadWindow .rwShadow .rwIcon
{
     background-image:url(Images/Icons/Rockies.ico) !important;   
}
 
.RadWindow .rwShadow .rwIcon
{
     background-image:url(Images/Icons/Rockies.png) !important;   
}

Just a little nudge in the right direction would be greatly appreciated.
JB
Ramjet
Top achievements
Rank 1
 answered on 16 Nov 2011
5 answers
180 views
I try to use RadWindow for display of a confirmdialog that enables the user to say yes or no to a question. This window is placed on the page within a RadWindowManager. The problem is, that the content on the page is centered using a style on the form-tag. The content is always 1022 pixel wide and 720 pixel high, so the form-tag looks like this:

<form name="form1" method="post" action="default.aspx" id="form1" style="position:absolute;left:50%;top:50%;margin-left:-511px;margin-top:-360px;">

When the style is set like this, then all content of the form is centered in the browser, even if the user changes the size of the browserwindow. Unfortunately the RadWindow is only centered horizontally (nearly), The top of the Window is above the top of the content.

I think the problem has to do with the absolute positioning of the elements. Has anyone an idea how i can have the content centered in the browser window and also have the RadWindow centered within the content?
Marin Bratanov
Telerik team
 answered on 16 Nov 2011
1 answer
122 views
Hi
I want to have a RadGrid editable with these properties:
1- Add and remove Row in client side.
2- Enter value of each column in client side without saving anything in database still user click Save button.
3- Manage client side keypress such as press Tab button that cause go to next column or next row in RadGrid.

How can i have it?
Shinu
Top achievements
Rank 2
 answered on 16 Nov 2011
1 answer
114 views
I'm trying to achieve something like the attached file..
I took a quick look and I can't seem to find if this is possible with the telerik slider...Can anyone let me know if this is possible?
A Sample or demo would be greatly appreciated!

The requirement I'm looking for are ( please see attached screenshot)
1. Items are dynamically generated
2. Item should be directly under the marker
3. item can consist of images and texts
4. the slider itself using an image of my choice


Thanks

Slav
Telerik team
 answered on 16 Nov 2011
5 answers
200 views

I found a problem with the date components for some reason the system will never accept that I enter a date of any first Sunday after the 15th of the month of October every year.

When I enter one of these dates and move the focus out of the component, the system automatically switches to the previous day.

You can notice the issue even in the pages of the demonstration site:
RadDatePicker
http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/custompopup/defaultcs.aspx

RadDateInput
http://demos.telerik.com/aspnet-ajax/input/examples/raddateinput/firstlook/defaultcs.aspx

Calendar / Range Selection
http://demos.telerik.com/aspnet-ajax/calendar/examples/functionality/rangeselection/defaultcs.aspx

Dates with problems:
10/19/2014
10/20/2013
10/21/2012
10/16/2011
10/17/2010
10/18/2009
10/19/2008
10/21/2007
10/22/2006
10/16/2005
10/17/2004
10/19/2003
10/20/2002
10/21/2001
10/22/2000
10/17/1999
10/18/1998
10/19/1997
10/20/1996
10/22/1995
10/16/1994
10/17/1993
10/18/1992
10/20/1991
10/21/1990
10/22/1989
10/16/1988
10/18/1987
10/19/1986
10/20/1985
10/21/1984
10/16/1983
10/17/1982
10/18/1981
10/19/1980

Vasil
Telerik team
 answered on 16 Nov 2011
2 answers
416 views
Hi,

I created radcombobox dynamically. I want to add EnableLoadOnDemand functionality from codebehind. I need a sample of code in asp.net having this functionality doing from codebehind.

Thanks.
Ivana
Telerik team
 answered on 16 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?