Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
90 views
Hello,

I am trying to populate Vertical menu usnig radpanelbar .I have three tables Department,Category and Product.
Department has departmentID,Name  and Category has categoryID,departmentID,Name.I am trying to use datasource propeties of radpanelbar  but i am not able to populate parent child control for Deparment>Category.So can you please give me some example how i can create such kind of control.

Thank You.
Paul
Telerik team
 answered on 02 Oct 2009
3 answers
100 views
If you go to the site
http://omegalove.com/Secure/UserProfile.aspx

you will see the grey tabs being used (http://demos.telerik.com/aspnet-ajax/tabstrip/examples/functionality/multipage/defaultcs.aspx)

do you have something like the blue in the top menu navigation?
Paul
Telerik team
 answered on 02 Oct 2009
1 answer
86 views
Hello,
I have a problem placing more than one RadGird in on a page.
Here is the scenario:
I am using the RadGrid to select data from my database. Therefore I created an UserControl with a RadGrid in it. The RadGrid is shown through a RadTooltip in Modal mode. Multiple data can be shown by the Grid because all columns are created from code behind. More than one of these UserControls on a page are possible and I use them like this anyway.
Here is the RadGrid definition:
<telerik:RadGrid ID="rgPickListData" runat="server" MasterTableView-NoMasterRecordsText="Keine Daten zum Anzeigen" 
                BorderStyle="None" AutoGenerateColumns="false" EnableViewState="true" AllowSorting="True" 
                Height="330" AllowPaging="true" PageSize="40" Width="97%" AllowMultiRowSelection="true"
                <PagerStyle Visible="false" /> 
                <MasterTableView OverrideDataSourceControlSorting="true" DataKeyNames="E_ID" /> 
                <ClientSettings EnableRowHoverStyle="true"
                    <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" />                     
                    <Selecting AllowRowSelect="True" /> 
                </ClientSettings> 
                <SortingSettings SortToolTip="Zum Sortieren hier klicken" EnableSkinSortStyles="true" /> 
            </telerik:RadGrid> 


So here is the problem:
If I place more than one of these UserControl on a page everything works fine in Internet Explorer. In Firefox I get a Javascript error.
Firebug shows the following errors:
this.get_element().tBodies[0] is undefined
}var c=this.get_element().tBodies[0].rows;\nTelerik....e:59462f1 (Zeile 10579)

If I remove the Scrollong tag from the ClientSettings the error does not appear.

I would like to use scrolling so are there any suggestions what to do?

Best regards
Ferdinand
Yavor
Telerik team
 answered on 02 Oct 2009
1 answer
1.0K+ views
I have code:

<telerik:RadFormDecorator Skin="WebBlue" ID="RadFormDecorator1" runat="server" /> 
<asp:Button ID="ButtonReport" SkinID="ButtonReportRegen" runat="server" Text="button" />  
<asp:Button SkinID="ButtonReportRegen" runat="server" style="margin-top:10px" />  

Result is otherwise nice button, but it`s right end is upper than rest of the button. Left side and middle part are 10 pixels down, but not right side.
Martin
Telerik team
 answered on 02 Oct 2009
1 answer
119 views
Hi Telerik team,

We are developing an asp.net webpart that will be integrated in sharepoint site.
The webpart consists of a RadAjaxPanel that contains RadFormDecorator control, a checkboxlist control inside div, buttons, textboxes etc.
Below is the code markup.

RadAjaxPanel panel =

new RadAjaxPanel();

 

panel.ID =

"panel1";

 

 

RadFormDecorator formDeco = new RadFormDecorator();

 

formDeco.ID =

"radFormDeco";

 

formDeco.DecoratedControls =

FormDecoratorDecoratedControls.All;

 

 

formDeco.Skin = "Vista";

 

panel.Controls.Add(formDeco);


HtmlGenericControl

 

divChkBoxList = new HtmlGenericControl("div");

 

divChkBoxList.ID =

"divChkBoxList";

 

divChkBoxList.Attributes[

"style"] = "height: 140px; width: 255px; padding-left:10px; overflow:auto; border-style:none; background-color:Window";

 

chkBoxList =

new CheckBoxList();

 

chkBoxList.ID =

"chkBoxList";

 

chkBoxList.RepeatLayout =

RepeatLayout.Flow;

 

chkBoxList.Attributes[

"style"] = "height:100px;width:200px";

 

chkBoxList.DataSource = list_endUser;

chkBoxList.DataBind();

divChkBoxList.Controls.Add(chkBoxList);

panel.Controls.Add(divChkBoxList);

Button

 

btnCancel = new Button();

 

btnCancel.Text =

"Cancel";

 

panel.Controls.Add(btnCancel);

The issues I am facing are:
1) As, I have chosen the "Vista" skin in RadFormDecorator, when I mousehover on a checkbox in the checkboxlist, the color of the checkbox should change to blue, which is not happening.
2) When I mousehover on the button control, the background color of button changes to blue but, the text on the button control displaces from its position.

Please reply asap, why are these issues happening at my end.

With Regards,
Shikha





Martin
Telerik team
 answered on 02 Oct 2009
5 answers
280 views
I'm using version 2008.3.1105.35 of the RadControls and I've run into a peculiar problem with a RadComboBox. I have it setup using EnableLoadOnDemand and it all works fine on my local development machine. However when putting the web application into a test environment (running Win Server 2003 SP2) the combobox doesn't get populated with data, it just sits there saying "Loading..." forever!!

I used Sql Profiler to see if it was even trying to get the data and I can see that it is pulling the data out of the database it's just not rendering it in the combobox.

I have the ComboBox setup in almost exactly the way outlined in: http://demos.telerik.com/aspnet-ajax/ComboBox/Examples/PopulatingWithData/AutoCompleteSql/DefaultCS.aspx with the exception that I am using an ItemTemplate and databinding on the OnItemsRequested event instead of manually adding RadComboBoxItems.

Any ideas?
Kaunteya
Top achievements
Rank 1
 answered on 02 Oct 2009
2 answers
348 views

Hi, 

I'm using RadUpload to upload the photo. 

After I selected the photo and click the Upload Button, I want to refresh the image in DataList only and I don't want the whole page doing the postback. Therefore, I'm using RadAjaxManager.  

Besides, I'm using RadAjaxManager to control the Rad Tab Strip and Rad Multi Page to avoid the whole page doing the postback. I just want the Rad Page View be refresh only and not the whole page doing postback.

The problem is when I select the photo and click Upload button, the uplPhoto.UploadedFiles.Count become 0.

The upload function failed when I added the Rad Ajax Manager.
 
If I didnt use Rad Ajax Manager, the upload function is no problem but the whole page will be refresh.

<telerik:RadTabStrip ID="rtsPhoto" runat="server" MultiPageID="rmpPhoto"   
      ontabclick="rtsPhoto_TabClick">  
   <Tabs> 
     <telerik:RadTab Text="Image" runat="server"   Selected="true">  
     </telerik:RadTab> 
     <telerik:RadTab Text="Upload" runat="server" PageViewID="rpvUpload">  
     </telerik:RadTab> 
   </Tabs> 
</telerik:RadTabStrip> 
 
 
 
<telerik:RadMultiPage ID="rmpPhoto" runat="server">  
 
     <telerik:RadPageView ID="rpvUpload" runat="server">  
 
          <telerik:RadUpload ID="uplPhoto" runat="server" ControlObjectsVisibility="None" MaxFileInputsCount="1" Width="300px"   
                allowedfileextensions=".jpg,.jpeg,.gif,.png,.bmp">  
          </telerik:RadUpload> 
 
          <asp:Button ID="btnUpload" runat="server" Text="Upload" CssClass="black_button"   
                style="width:70px;" onclick="btnUpload_Click" /> 
                                      
          <asp:DataList ID="dtlPhoto" runat="server" DataSourceID="odsPhoto">  
                <ItemTemplate> 
                     <img id="imgPhoto" alt="" src='<%# Eval("ThumbnailLocation") %>' /> 
                </ItemTemplate> 
          </asp:DataList> 
 
     </telerik:RadPageView> 
                            
</telerik:RadMultiPage> 
 
 
<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="rtsPhoto">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="rtsPhoto" /> 
                    <telerik:AjaxUpdatedControl ControlID="rmpPhoto" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
</telerik:RadAjaxManager> 
 

Anyone can help?

Thanks.

Regards,
Jessie
Jessie
Top achievements
Rank 1
 answered on 02 Oct 2009
1 answer
63 views
Hi,

We've the licensed verswion of telerik.The problem we're having is suddenly when debugging and running our application, the UI which has the teleik controls gets messed up. It puts extra words like"select" in the UI. and suddenly the dropdown gets changed to textbox and whole UI gets ugly. We then need to refresh the whole page to get going.

Pls tell us what we're missing .We're using Telerik controls.

Pls we can't give this junk to our customers. so, pls do help us.
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 01 Oct 2009
2 answers
141 views
I have the grid in a user control in the default page (which has a master page).  Once I bind the control the the dataview, if I do any thing out side of the control, do any of the client side functionality, close the control, rebind or try to clear the control I keep getting this javascript runtime error.  I cannot find anything on the web about this error.  What am I missing. 

Microsoft JScript runtime error: 'this._owner.MasterTableView.get_element().offsetWidth' is null or not an object

I have grouping, sorting, resizing, column reorder and exporting enabled.

Thanks
steve
Top achievements
Rank 1
 answered on 01 Oct 2009
4 answers
139 views
Hi guys
We are currently using a rad input manager to extend some controls. It works all right until I reach the validations.
I was wondering if the validations provided by the rad input manager are able to stop the postback the same way a traditional aspnet validation control does WITHOUT using a validation control (ie regular expression validator, required validator)
Cheers
Julian
Top achievements
Rank 1
 answered on 01 Oct 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?