Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
50 views
I'm getting the SessionPageStatePersister in design view on a radComboBox that's in a radGrid which is in a radPageView.
   radMultiPage>radPageView>radGrid>radComboBox

I have no problems with the SessionPageStatePersister if the radComboBox is outside the radMultiPage.

It's just design view, so it's not the end of the world (just annoying trying to format).

Anyone have an idea?

Thanks
Simon
Telerik team
 answered on 23 Sep 2010
1 answer
322 views
Hi,
I have a requirement in RadGrid.
I have a grid assume there are 2 pages in it. When im on the first page , then Go to first Page and prev buttons has to be disabled.
When im on the last page then go to next page and go to last page buttons has to be disabled.
Is there any provisions in telerik radgrid for that?

Regards,
Krishnan
Princy
Top achievements
Rank 2
 answered on 23 Sep 2010
4 answers
84 views
Hi

our users are complaining about the height of the RadEditor in Annoucment Lists. I have reviewed our configuration and looked at the HTML markup rendered by RadEditor and I was suprised to see that the height is not 400px as defined in the config.xml files (which seems to be the default value anyway). The height is acutally 210px for a OOTB Announcement List.

I started investigating and I looked at the RadTextfield class and there is a if condition which checks for the NumberOfLines property of the multiline field and if more than 6 lines are defined the height gets somehow calculated...

if (this.baseField.NumberOfLines > 6)
{
    this.Height = (this.baseField.NumberOfLines * this.FontSizeCoef) * 2;
}

Using the default value of 6 lines resuls in a regular sized editor based on the config values (e.g. 400px). Using a higher number results in some calculation which will (at least in our configuraiton) render much to small editor windows.
I don't want to tell our editor to replace the Annoucement List line number to 6 after creating a new list as a workaround. Is it possible to change this behavior? Is it possible to configure the FontSizeCoef property?
I attached a screenshot as reference.

Version: 7.5.2.0 / 2010.1.415.20

thanks
regards
göran
Göran Tänzer
Top achievements
Rank 1
 answered on 23 Sep 2010
0 answers
79 views
Hi,

we are Creating bar chart and that are coming very well. This we are generating dynamically. Please see the attached Image.

now my problem is I want to set the width for bars. For example I have giving width for my chart is 500. and when I add 2 Items then it shows 2 bars in whole 500 width.

When I add 10 Items then it shows 10 bars in same 500 width.

now I want to set the width for bar so I can fix the bar width and it will show from left to right . so when I add only 2 Items then it comes from left and will have empty space in right side. It will not take whole space (500) in chart.

Please see the attached Image for my current graph.

Regards
Reetesh
Reetesh
Top achievements
Rank 1
 asked on 23 Sep 2010
3 answers
190 views

Hi,

I need to display categories list in radcombobox from the database

It shoud display in the below manner

      ->   Items
              -> category
                   -> subcategory
                   -> subcategory
                   -> subcategory
            ->category
                  -> subcategory
                 -> subcategory
                 -> subcategory

Please help me

Need urgent reply

Regards,
Prathap


               
Cori
Top achievements
Rank 2
 answered on 23 Sep 2010
1 answer
282 views
Hello,
following is my aspx page code:

<

 

telerik:GridButtonColumn ButtonType="PushButton" UniqueName="ButtonColumn" ConfirmDialogType ="RadWindow" CommandName="Undo" ButtonCssClass ="button" ConfirmText ="Do you really want to Undo the batch?" ConfirmTitle="Confirmation" Text ="Undo" >

 

 

<HeaderStyle Width="2px"/>

 

 

</telerik:GridButtonColumn>

 

 

<telerik:GridButtonColumn ButtonType="PushButton" UniqueName="ButtonColumn2" ConfirmDialogType="RadWindow" CommandName="Finalize" ButtonCssClass="button" ConfirmText="Do you really want to Finalize the batch?" ConfirmTitle="Confirmation" Text="Finalize" >

 

 

<HeaderStyle Width="3px" />
I am using gridbuttoncolumn for confirmation dilaog box but when box is appeared it is to big.How can I set height of the confirmation box?
Thanks so lot for your help

 

Daniel
Telerik team
 answered on 23 Sep 2010
1 answer
78 views
Hi guys

I am following "Creating A Custom Skin" item in the tutorial for the panelbar.

When I open the css file for the default skin with a view to modifying it to match the target website 
I found the Q2 2010 version is completely diffferent from the example shown in the tutorial.

Is there an updated version of the tutorial that reflects the new css format? The example shown produces the result I want
(but changing the green to blue).

Thanks

Clive
Kamen Bundev
Telerik team
 answered on 23 Sep 2010
4 answers
87 views
Hi,
I have the following control-structure:

<master>
    <radscriptmanager />
    <radajaxmanager />
    <page>
        <radajaxmanagerproxy />
        <tabs_usercontrol>
            <radajaxmanagerproxy />
            <radtabstrip />
            <radmultipage>
                <page_usercontrol1>                    
                    <button />
                </page_usercontrol1>
                <page_usercontrol2>                    
                    <button />
                </page_usercontrol2>
                <page_usercontrol3>
                    <radajaxmanagerproxy>
                        <ajaxsettings />
                    </radajaxmanagerproxy>
                    <radtextbox />
                    <button />
                </page_usercontrol3>
                <page_usercontrol4>                    
                    <button />
                </page_usercontrol4>
            </radmultipage>
        </tabs_usercontrol>
    </page>
</master>

Everything works as expected, with ajax postbacks and updates in page_usercontrol3 being correctly handled.

Niow, I want to add a radajaxmanagerproxy and ajaxsettings to the other page_usercontrols.  But, when I add the proxy and settings to any of the other controls to handle the button click, I get a client-side ajax error that says:

Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_ctl00_ContentPlaceHolder1_tabs1_MyContent_txtMyInputPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.

This error seems to be pointing to a field on the page_usercontrol3 control, which works perfectly well on it's own, but something goes wrong when handing postbacks on the other multipage contents.

Can you please give me a steer as to what is going on here?

I am not using the loadondemand style multipages.  If I do, I get the same problem but worse, as it happens no matter which tab I go to.

Thanks.
Maria Ilieva
Telerik team
 answered on 23 Sep 2010
1 answer
48 views
I am a user control that has a radio button and I am trying to ajaxyfy the radio button from the main aspx page. The code is as followed:

Control MyControl = (Control)Page.FindControl("WebUserControl1");

RadioButton MyButton = (RadioButton)MyControl.FindControl("rdbFirstOne");
Label MyLabel = (Label)MyControl.FindControl(
"Label1");

RadAjaxManagerProxy1.AjaxSettings.AddAjaxSetting(MyButton, MyLabel, null);

When I debug this, I get object reference error on "RadioButton MyButton = (RadioButton)MyControl.FindControl("rdbFirstOne");
"
line.


Please help. Thanks. 
Pavlina
Telerik team
 answered on 23 Sep 2010
4 answers
214 views
I am using a rad tool tip who's values are set in a user control. I am using an 'OnAjaxupdate' method to load the usercontrol and display the tooltip.

But when i hover the mouse over my image icon (targetcontrol of the radtooltipmanager); i get a pop up window prompting
"radToolTipManager response error. An unknown server error has occured. The status code returned is 500"

Looks like this is happens either if I link a css class in the loaded user control or if I add a style inside user control. Look at my below code inside a user control

<style type="text/css">  
 
     .label  
        {  
            color: Blue;  
            font-familyTahoma;  
            font-size: 1em;  
            font-weight:bold 
        }  
          
     .value  
        {  
            colorblack;  
            font-familyTahoma;  
            font-size: .9em;  
        }  
          
</style> 

<asp:UpdatePanel ID="pnl" runat="server" UpdateMode="Conditional">  
    <ContentTemplate> 
          
        <table border = "0"  align = "center" width = "100%" > 
             
            <tr> 
                <td><asp:Label ID="lblContent" runat="server" Text="Content File:" class = "label"></asp:Label></td>  
                 <td><asp:Label ID="lblContentUrl" runat="server" class = "value"></asp:Label></td>  
            </tr> 
              
            <tr> 
                <td><asp:Label ID="lblTotalLinks" runat="server" Text="Total Links:" class = "label"></asp:Label></td>  
                <td><asp:Label ID="lblTotalLinksValue" runat="server" class = "value"></asp:Label></td>  
                 
            </tr> 
             <tr> 
                <td><asp:Label ID="lblVersion" runat="server" Text="Version:"  class = "label"></asp:Label></td>  
                 <td><asp:Label ID="lblVersionValue" runat="server" class = "value"></asp:Label></td>  
            </tr> 
              
            <tr> 
                <td><asp:Label ID="lblCheckedOut" runat="server" Text="Checked Out:" class = "label" ></asp:Label></td>  
                <td><asp:Label ID="lblCheckedOutValue" runat="server" class = "value"></asp:Label></td>  
                 
            </tr> 
             
            <tr> 
                <td><asp:Label ID="lblCreatedOn" runat="server" Text="Created On:" class = "label" ></asp:Label></td>  
                <td><asp:Label ID="lblCreatedOnValue" runat="server" class = "value"></asp:Label></td>  
                 
            </tr> 
 
            <tr> 
                <td><asp:Label ID="lblLastModifiedOn" runat="server" Text="Last Modified On:" class = "label"></asp:Label></td>  
                <td><asp:Label ID="lblLastModifiedOnValue" runat="server" class = "value"></asp:Label></td>  
                 
            </tr> 
        </table> 
         
    </ContentTemplate> 
</asp:UpdatePanel> 


What does the error mean?

My code files are
1.usercontrol.ascx (defined the user control),
2.usercontrol.ascx.cs(defined labels and textboxes as properties whose values are set in the default.aspx.cs page),
3.default.aspx (web page) and
4.default.aspx.cs(code behind having 'OnAjaxUpdate' method used for loading usercontrol and populationg the tooltip with values)

Also i am using an external css file to manage the look of the tooltip. But it has no effect on the tooltip content. Sohow can i change the font-size , color etc of the content inside the tooltip by using CSS or inline styles?

Any help in this is highly appreciated...
parthavi h
Top achievements
Rank 1
 answered on 23 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?