Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
85 views
I have set up a sliding pane within a splitter and i dynamically add in control to it (an ascx control).  What i want it to do is if i add in more controls than the height of the splitter then it should use the scroll Y bar.

I have this working successfully in IE8 but when it comes to Foxfire it seems that the height of the sliding pane extends past the height of the splitter it is contained in by about the height of the header of the sliding pane.  What this results in is the page rendering the controls and the Y scroll bar with the down arrow of the scroll bar not visible.

is this an issue with the sliding pane and FF?
Svetlina Anati
Telerik team
 answered on 25 May 2009
3 answers
145 views
Hi, I have the same desire radtabStrib1 a dynamically loaded from a table in SQL, this is toward controls Infragistic but now I use it with RadTabStrib but I get an error. 
original code:
Imports System.Data  
Imports System.Data.SqlClient  
Imports System.Web.SessionState  
Imports System.Web.SessionState.HttpSessionState  
Imports System.Web.Security  
Partial Class Default2  
    Inherits System.Web.UI.Page  
 
    Protected Sub Page_Load(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.Load  
        Dim rd As SqlClient.SqlDataReader  
        If Not Me.IsPostBack Then 
            Me.lblUsuario.Text = Session("UserId")  
        End If 
        Dim dsUrls As New DataTable  
        'Conexion al Server ------------------------  
        Dim cnDatos As New SqlConnection(ConfigurationManager.ConnectionStrings("WebSiteConnectionString").ConnectionString)  
        Dim daUrls As New SqlDataAdapter("spWebUrlsAdmin", cnDatos)  
 
        cnDatos.Open()  
 
        daUrls.SelectCommand.CommandType = CommandType.StoredProcedure  
        daUrls.SelectCommand.Parameters.Add(New SqlParameter("@pUserId", SqlDbType.Char, 10))  
        daUrls.SelectCommand.Parameters("@pUserID").Value = Session("UserId")  
 
        daUrls.Fill(dsUrls)  
 
        rd = daUrls.SelectCommand.ExecuteReader()  
 
        While (rd.Read())  
            Dim tb As New Infragistics.WebUI.UltraWebTab.Tab(rd.GetString(0))  
            tb.Key = rd.GetString(0)  
            UltraWebTab1.Tabs.Add(tb)  
            UltraWebTab1.Tabs.FromKeyTab(rd.GetString(0)).ContentPane.TargetUrl() = rd.GetString(1)  
        End While 
        rd.Close()  
        cnDatos.Close()  
    End Sub 
End Class 

New Code:
Public Function cargartab()  
        Dim rd As SqlClient.SqlDataReader  
        Dim dsUrls As New DataTable  
        Dim cnDatos As New SqlConnection(ConfigurationManager.ConnectionStrings("WebSiteConnectionString").ConnectionString)  
        Dim daUrls As New SqlDataAdapter("spWebUrlsAdmin", cnDatos)  
        cnDatos.Open()  
        daUrls.SelectCommand.CommandType = CommandType.StoredProcedure  
        daUrls.SelectCommand.Parameters.Add(New SqlParameter("@pUserId", SqlDbType.Char, 10))  
        daUrls.SelectCommand.Parameters("@pUserID").Value = Session("UserId")  
        daUrls.Fill(dsUrls)  
        rd = daUrls.SelectCommand.ExecuteReader()  
 
        While (rd.Read())  
            Dim tb As New Telerik.Web.UI.RadTab(rd.GetString(0))   
            tb.AccessKey = 0 'rd.GetString(0)  
 
            Me.RadTabStrip1.Tabs.Add(tb)  
            'Me.RadTabStrip1.Tabs(0).Text = rd.GetString(0)  
 
            'Me.RadTabStrip1.Tabs.FromKeyTab(rd.GetString(0)).ContentPane.TargetUrl() = rd.GetString(1)  
            Me.RadTabStrip1.Tabs.Add(ResolveUrl(rd.GetString(1))  
        End While 
        rd.Close()  
        cnDatos.Close()  
    End Function 
Simon
Telerik team
 answered on 25 May 2009
1 answer
102 views
Hi,

I have a requirement to generate RadTextBoxes inside a grid, this is easy ( http://demos.telerik.com/aspnet-ajax/calendar/examples/datepicker/shareddatepicker/defaultcs.aspx?product=calendar )
my problem is that i have to use the Self-referencing Hierarchy just like this one (http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/selfreferencing/defaultcs.aspx)

What's the best way to merge both functionalities?

Thanks a lot for your help
Mike
Tsvetoslav
Telerik team
 answered on 25 May 2009
1 answer
88 views
I just renewed my subscription and after installing Q1 2009 service pack the WebBlue theme for the RadComboBox changed substantially.

The previous version that I had installed was: RadControls_for_ASP.NET_AJAX_2008_3_1125_dev.exe

How can I get the old WebBlue skin (from Q3 2008 pack) applied to the new version of the Rad Controls?

I went from RadControls for ASPNET AJAX Q3 2008 to RadControls for ASPNET AJAX Q1 2009

This is stopping us from a new release of our site since the look and feel changed so I need to try to get this resolved ASAP.

Thanks

Robert
Paul
Telerik team
 answered on 25 May 2009
1 answer
164 views
Can you make a grid like at Group By Expressions sample at RadControls for Asp.Net AJAX, but where every column would contain sum amount calculated from cells below it?

Grouping row          30              300
   Subrow 1             10              100
   Subrow 2             20              200
Princy
Top achievements
Rank 2
 answered on 25 May 2009
2 answers
135 views
I have a RadWindow declared in a user control web form. The user control web form is bigger than what is displayed on the screen. The user is allowed to scroll up and down on this user control.  But since the user control is bigger than what is immediately viewable on the screen, when I open up a pop-up RadWindow and maximize the window, the RadWindow is as large as the user control. If I am in the lower half of the user control web form and maximize the window, the top portion of the RadWindow is not accessible because it is align with the top of the user control. Since the modal window disables everything outside the RadWindow, I am unable to scroll up to get to the RadWindow title bar.

I have set the RestrictionZoneID property to a DIV around my user control. This prevents the user from dragging the RadWindow outside that div. But I can't figure out how to restrict the RadWindow from being maximized bigger than what is visible on the screen.

Help? Suggestions?
Georgi Tunev
Telerik team
 answered on 25 May 2009
1 answer
85 views
Hi,
 am facing "Internet Explorer can not diplay the page. Operation Aborted" with Rad Window.
The error occurs when i close the rad window and back to the parent page.
I am using javascript to open the grid and the code behind to close it from the aspx page embeded in the rad window.

code:
Default.aspx page to open window from java script. firedon button's onClientClick event:
 function ShowInsertForm() { 
 
                    window.radopen("AddEditUser.aspx", "AddEditUserWindow").setSize(450, 600); 
                    return false; 
                } 


AddEditUser.aspx page (open in the radwindow):
 function CloseAndRebindGrid() { 
 
            var oWindow = GetRadWindow(); 
            if (oWindow != null) { 
                oWindow.Close(); 
                oWindow.BrowserWindow.refreshGrid(); 
                 
            } 
        } 
 
 function GetUserRadWindow() {            
             
            var oWindow = null
            if (window.radWindow) oWindow = window.radWindow; 
            else if (window.frameElement != null) { 
                if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; 
            } 
            return oWindow; 
        } 
       
        

and its code behind: 
 protected void btnSave_Click(object sender, EventArgs e) 
        { 
               ClientScript.RegisterStartupScript(Page.GetType(), "insert", "CloseAndRebindGrid();", true); 
                
        } 


The error occurs after clicking the "save" button to close the rad window.

Please Advice how can i solve this issue.

Thanks!

Ruth
Georgi Tunev
Telerik team
 answered on 25 May 2009
3 answers
194 views
I'm having an issue with a RadRotator control when the containing RadDock is collapsed. I've traced it to the get_currentItem method of the RadRotator object. More specifically, I think it is the result of the $telerik.getOuterSize function not being able to return the correct box styles of hidden (display:none) objects.
Is there some event that can be used to inform the RadRotator that it is about to be hidden so it can stop the slideshow?
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 25 May 2009
1 answer
183 views
I have a css class that sets the style display:block on all buttons inside a div so that the buttons stack on top of each other instead of side by side.  When I also have the RadFormDecorator styling buttons, both the unstyled input button and the styled button appear.

<div class="VerticalButtonList">  
    <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" Width="60px" /> 
    <asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click" Width="60px" /> 
    <asp:Button ID="btnDelete" runat="server" Text="Delete" OnClick="btnDelete_Click" Width="60px" /> 
</div> 
.VerticalButtonList input[type=submit]  
{  
    display:block;  
Georgi Tunev
Telerik team
 answered on 25 May 2009
3 answers
109 views
Hi,

I have a RadMaskedTextBox on Page A.aspx, I navigated to some other Page B.aspx with the Id of RadMaskedTextBox of Page A.aspx.
Now I need to get the client side object of RadMaskedTextBox on page B.aspx to manipulate its value.

I can not use
var maskedTextBox = $find("
<%= RadMaskedTestBox1.ClientID %>");
because, the control is not on page B.aspx.
Is there a way to achieve, what I am trying to do..?
Nikolay Rusev
Telerik team
 answered on 25 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?