Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
213 views
We upgraded to the newest release version of the RadControls today.  When we did that, we noticed that our pages started to hit the Page_Load function multiple times for each request.  We created a small Telerik Web Application and found that the RibbonBarGroup in the RibbonBar control is causing the issue.

We used Visual Studio 2010 and created a Telerik Web Application project in VB.  We have a master page, an aspx page and a vb code behind for each.

RibbonBar.Master
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
<telerik:RadRibbonBar ID="RadRibbonBar1" runat="server">
    <telerik:RibbonBarTab Text="Tab 1">
        <telerik:RibbonBarGroup Text="Group 1">
            <Items>
                <telerik:RibbonBarButton ID="rbb1" runat="server" Text="Button 1" />
            </Items>
        </telerik:RibbonBarGroup>
    </telerik:RibbonBarTab>
</telerik:RadRibbonBar>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
  
</asp:ContentPlaceHolder>

RibbonBar.Master.vb
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    If Me.Page.IsPostBack Then
        Response.Write(DateTime.Now & "-RibbonBar.Master Not IsPostBack<br />")
    Else
        Response.Write(DateTime.Now & "-RibbonBar.Master IsPostBack<br />")
    End If
End Sub

RibbonBar.aspx (Using the RibbonBar.Master)
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  
    <telerik:RadButton ID="btnRibbonBar" runat="server" Text="RadButton">
    </telerik:RadButton>
      
</asp:Content>

RibbonBar.aspx.vb
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    If Me.Page.IsPostBack Then
        Response.Write(DateTime.Now & "-RibbonBar.aspx Not IsPostBack<br />")
    Else
        Response.Write(DateTime.Now & "-RibbonBar.aspx IsPostBack<br />")
    End If
End Sub
Private Sub btnRibbonBar_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnRibbonBar.Click
    Response.Write(DateTime.Now & "-btnRibbonBar_Click<br />")
End Sub

If you put a break point on each of the subs, you will see that when you click the button, the Page_Load events in the aspx and master page are hit, then the click event for the button, then the Page_Load events in the aspx and master page are hit again.

Thanks for your time,
Gordon


Ian
Top achievements
Rank 1
 answered on 13 Aug 2011
4 answers
100 views
Hi,

We have a RadTextBox with TextMode equal to Multiline. When i write some text into it, it takes 1 - 2 minutes to display the text. Means it hangup for 1-2 minutes before it display.
This scenario is observed in IE8 only. Please help in this.

Thanks,
Rahul 
lantram
Top achievements
Rank 1
 answered on 12 Aug 2011
4 answers
61 views
Hi Support,

I'm using latest version of "Telerik RadControls for ASP.NET Ajax" (version :2011.1.413.35).

I have a text along with the image used as a hyperlink as follows.

"Sample Text.<a href="javascript:myfunction()"><img title="sample image" src="sample.gif" /></a>"

When i copy the above text and paste it inside editor,  the editor removes the href attribute of 'anchor' tag. It happens only with firefox and safari. It is working correctly in internet explorer.

"Sample Text.<a ><img title="sample image" src="sample.gif" /></a>"

Is there any solution for this.? Awaiting for sooner response
Rumen
Telerik team
 answered on 12 Aug 2011
5 answers
166 views
I've been searching for 2 days now to find a template to work off of and every post and article brings my back to the same KB. I've added this:
<telerik:RadEditor runat="server" ID="RadEditor1">
            <CssFiles>
                <telerik:EditorCssFile Value="~/Editor/EditorContentArea.css" />
            </CssFiles>
</telerik:RadEditor>

Now where do I find a copy of the original EditorContentArea.css to work off of? The article references Getting the CSS from the Telerik.Web.UI.dll... how do I do this? I work within a multi-developer environment and do not have the radcontrols installed directly on my machine, but as part of the solution I work within.

How do I get the contents of this file? 
Rumen
Telerik team
 answered on 12 Aug 2011
1 answer
93 views
Hi!!
I have a problem with radfilter localization. I attach an image with this.
When I select some language all controls of radfilter change but RadFilterExpressionPreview not.
How I can do for change this parts?.. or Who is the key in resx file to change it.


regards
 
Mira
Telerik team
 answered on 12 Aug 2011
3 answers
147 views
Safari do support ComboBox and DateTimePicker but iPhone Safari doesn't support nither ComboBox nor DateTimePicker....

Help me on this please..
Helen
Telerik team
 answered on 12 Aug 2011
3 answers
208 views
In my application, I'm using a RadTabStrip and a validation control to validate user input, but  when I switch tabs, and then click on a button, the first postback is ignored, but if I click twice it will postback.

Any ideas?
Thanks,
Helen
Telerik team
 answered on 12 Aug 2011
4 answers
74 views
I just installed ASP.NET AJAX 2011 Q2, 
and found the project configuration wizard options are not displayed completely like attached snag-0001.jpg.

I am using VS2010 Chinese Traditional on Win7 Chinese Traditional x64.
Is this issue a defect or resulting from my environment?

thanks.

Note: I just found that the options displayed correctly if hit Back and Next again.  (screenshot snag-0000.jpg)
Andrey
Telerik team
 answered on 12 Aug 2011
4 answers
192 views
I am unable to retrieve the values for list box items when I am using the template column when in a different event such as a button click.
I need to get at the values for the selected item.

my ascx does this
                    <telerik:RadListBox ID="UserLst" runat="server" Width="320px" Height="400px" AutoPostBack="True"
                        Skin="Windows7">
                        <ItemTemplate>
                            <div class="radlist-itemdiv">
                                <div class="radlist-imagediv">
                                    <img src='Images/icon_human.png' alt="User Image" />
                                </div>
                                <div class="radlist-textdiv">
                                    <span class="radlist-title"><span class="radlist-column">Access Rights</span><%#Eval("AccessLevel")%></span><br /><span class="radlist-title"><span class="radlist-column">Full Name</span><%#Eval("Fullname")%></span><br /><span class="radlist-title"><span class="radlist-column">User Ref No.</span><%#Eval("UIDRef")%></span></div>
                            </div>
                        </ItemTemplate>
                    </telerik:RadListBox>

in my .CS Code file I am doing this in page_load          
UserLst.DataSource = WS.GetUserList(); // returns a dataset
UserLst.DataBind();

in my .cs file I have wired an imagebuttonclick event using radajaxpanel.

        protected void EditUserClick(object sender, ImageClickEventArgs e)
        {
            string UIDRef = xxx;  // get the UIDRef that is in the selecteditem        ????????    
        }

This last buttonclick routine is where I am strugling to get at the UIDRef that is part of the selected item?
Once I have the UIDRef i can locate the full record and start to edit it.

Any help greatly appreciated, Thanks.

Mick
Top achievements
Rank 1
 answered on 12 Aug 2011
9 answers
312 views
I am currently making a 3-tier Hierarchy using rad grids, however for some reason the last rad grid in the hierarchy is not being recognized by Visual studio 2008 (i.e. it is not being added to the designer class).

<telerik:RadMultiPage runat="server" ID="RadMultiPage1" SelectedIndex="0" RenderSelectedPageOnly="false">
<telerik:RadPageView ID="RadPageView1" runat="server">
   
<telerik:RadGrid ID="radGrd1">
       
<MasterTableView>
           
<DetailTables>
               
<telerik:GridTableView>
                   
<NestedViewTemplate>
                       
<telerik:RadMultiPage>
                           
<telerik:RadPageView>
                               
<%--add Radgrid Here--%>
                           
</telerik:RadPageView>
                       
</telerik:RadMultiPage>
                   
</NestedViewTemplate>
               
</telerik:GridTableView>
           
</DetailTables>
       
</MasterTableView>
   
</telerik:RadGrid>
</telerik:RadPageView>
Here is a skeleton of the code i am using.

Is it possible to add a rad grid in that position? If so why is it that visual studio is not adding this code to the designer class and thus making it inaccessible in the code behind file?

I have tried adding the control manually myself, although it appears in the intellisense the control itself is set to null during runtime thus making it impossible to bind any data to the Grid.

Please Help
Pavlina
Telerik team
 answered on 12 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?