Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
108 views
Hi there

I open a radwindow using the radwindow.open(url, radwindowmanagerid) method.

Inside the page that is shown in the opened window  I need to maximize the window from codebehind.  How can that be done?
Ole Albers
Top achievements
Rank 2
 answered on 29 Nov 2010
7 answers
368 views
Hi ,
I have a RawindowManager in MasterPage
a Radwindow in it's Windows collection
In the content page, i have an imagebutton.
I want to open the rad window in server side.
So i added this into imagebutton handle:
//doing some server side stuff here.
RadWindowManager 
man = (RadWindowManager)Master.FindControl("WindowsManager"); 
        RadWindow win = new RadWindow(); 
        win.NavigateUrl = "path"
        win.VisibleTitlebar = true
        win.VisibleOnPageLoad = true
        man.Windows.Add(win); 
running without any error but the radwindow is not open. What am i missing?
This is the post continues with the one i made in the support ticket. However, there is no reply or post back option in the thread so i could not post over there.
Thank you
This button is placed inside a RadPageView. Also the content page uses RadAjaxmanagerProxy
James Wofford
Top achievements
Rank 1
 answered on 29 Nov 2010
5 answers
786 views

Hi Veli,

I am using the Telerik RadGrid in our application,

our requirement is to Bind the columns and data to the grid dynamically .

including this based on the parent grid's selected row i need to show the related say 3tables of data either using Detai table grid or a NestedView template

I will describe the issues i faces on using these two options in breif now and also attached the screenshots for the related issues

1.Using Detail Table Data

    Adding columns and binding data is no problem...

        a).     First thing is the appearance 
         b).     Is it more flexible to have add,edit and one more button to redirect to some other page funtionalities with in all the  GridTableViews.
    passing the selected row as parameter
         c)    . If i resize the column extensively the RadGrid control automatically intiates the scroll
    option where i fill the screen gets so clumsy to differentiate the Parent grid and the Gridtableview

2.Using Nested View template
 
 In this template i took a panel and a tabstrip with in that panel.that tabstrip consists of
 three tabs for the three different related tables as explained above.
 
 Using this also adding columns and binding the data is no problem
 
     a).  The main problem is the columns and the data are not getting binded for the first click of expand column
    Inorder to over come this problem i used the HierarchyLoadMode as Client for this even for the first expand column click also data is gettind binded.
    but if i click for the next page of parent grid,then i am not able to view get the data binded to the child grids of the tabcontrol

     b).  In this also i need flexibility to have add,edit and even to redirect to some other page from the childgrids passing the selected row as parameter

Now coming to an end , I need the best solution among the two and also the solutions to over come the problems

Thanks in Advance
chaitanya.E
chaitanya.elluru@cosmonetsolutions.com

Milind Raje
Top achievements
Rank 1
 answered on 29 Nov 2010
2 answers
105 views
How can I access the value of a READONLY control in a RadGrid?

I tried the code below but it could not find the control.

RadGrid1.items.FindControl("controlename")

However, when I remove the READONLY  property, I am able to find the control.

I will appreciate any help asap.

Thanks
Jeff
Jeffrey
Top achievements
Rank 1
 answered on 29 Nov 2010
1 answer
199 views
When the field is set to ReadOnly=true the set_value not work!

Enabled cannot use because the user needs access to the field to copy the information.
How do I fix this?
Dimo
Telerik team
 answered on 29 Nov 2010
1 answer
192 views
I've seen the examples showing how to use
AllowAutomaticLoadOnDemand="true" 
for the GridDropDownColumn, but it seems these examples simply do a lazy load of the list and don't allow for auto complete type lookup from the user.

What I am getting at, if they lookup contains 100,000 items, I don't believe there is a way to used the built in load on demand features to allow the user to type a few characters and get back only the items that match their search.

As a work around we've been using a item template with a RadComboBox and the
OnItemsRequested
option used to query the database with the users typed in value as the search parameter.

I am just writing to verify that there is no simpler way to do this with the GridDropDownColumn.
Veli
Telerik team
 answered on 29 Nov 2010
2 answers
193 views
Hi,
I've had a RadnumericTextbox on my page :

<telerik:RadNumericTextBox runat="server" ID="txbOCCCplafond" SkinID="txbEntier" NumberFormat-decimalSeparator=',' MinValue="0" />

As you can see the decimal separator is the comma (french format).

I would like to allow the user to press ',' or '.' (as a result the '.' becomes ',')

For example setting NumberFormat-DecimalSeparator= ',.'

Hope you understand my poor english

Could you help me ?



 

 



 

Anthony
Top achievements
Rank 1
 answered on 29 Nov 2010
3 answers
732 views
I'm relatively new to the Telerik controls, so bear with me.

Working in VS2010, in a Telerik project... styles and CSS seem to wire up no problem, all is working as it should.

Trouble is - it seems like a huge pain to insert a series of inputs and get things to line up.  Meaning, I'd like a two-column layout with the label for the input say 200px, and the input to be 300px.  With padding and whatnot, the overall box would be about 525px.

I think I'm missing something conceptually about how to do this quick.  Right now, I'm dropping in a ASP Panel control, then adding RadTextBoxes.  You can set the width of the overall control (RadTextBox that is), but the width of each input area and each label is different.

What's the best practice way to accomplish a nice looking input form with everything aligned in a couple columns?  I'd rather not use tables, and I've done fieldsets in other projects, and tables too.  I thought the Skins might fix it, but it doesn't appear to assign a width, AND it's using tables for the layout.

I'm sure there's something simple, but I've been combing the how-to's for a couple hours.

<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All"
    Skin="Web20" DecorationZoneID="ContentPlaceholder1" />
<h1>
    Search Attendee Records</h1>
<p>
    Enter a value or a partial value in any of the fields below. Your search will return
    all matches or partial matches. For example if you enter "A" for last name, your
    search will return all names beginning with "A".</p>
<asp:Panel ID="Panel1" runat="server" GroupingText="Search Data" Width="450px">
    <telerik:RadTextBox ID="txtRegistrantID" runat="server" Label="RegistrantID" 
        Width="400px" Wrap="False">
    </telerik:RadTextBox><br />
    <telerik:RadTextBox ID="txtLastName" runat="server" Label="Last Name" 
        Width="400px" Wrap="False">
    </telerik:RadTextBox><br />
    <telerik:RadTextBox ID="txtFirstName" runat="server" Label="First Name" 
        Width="400px" Wrap="False">
    </telerik:RadTextBox><br />
    <telerik:RadTextBox ID="txtCompany" runat="server" Label="Company" 
        Width="400px" Wrap="False">
    </telerik:RadTextBox><br />
    <telerik:RadTextBox ID="txtCity" runat="server" Label="City" Width="400px" 
        Wrap="False">
    </telerik:RadTextBox><br />
    <telerik:RadButton ID="btnSubmit" runat="server" Text="Submit">
    </telerik:RadButton>
</asp:Panel>
Dimo
Telerik team
 answered on 29 Nov 2010
4 answers
236 views
Hi all,

I think the answer to this is no, but, I just wanted to double check, since it's a useful feature that RadGrid has. With RadGrid you can handle the OnNeedDataSource event to do a query to get the list of items for the grid. However, RadComboBox doesn't have this event. I'm wondering if there is an equivalent event, or, why RadComboBox doesn't have that event? Right now, I'm just setting the DataSource in the page's Page_Load event (with !IsPostBack).

I'm using Entity Framework and have been using a mix of EntityDataSources using ESQL as well as some LINQ to Entities code in the code behind files. It would be nice to do the queries in a consistent fasion. Using an EntityDataSource has some benefits, but, so does LINQ, for example, everything is strongly typed and compiler checked.

Jon
Yana
Telerik team
 answered on 29 Nov 2010
2 answers
67 views
I have a radpanelbar  that I use to call a radwindow during an itemclick event. This works as advertised, the problem is that the itemclick event seems to happen again if I cause another postback.

For example, if the user clicks the radpanelbar and fires the itemclick event which opens window1--I then close window1. Now I click on a radtreeview control which causes another postback and for some reason, the radpanelbar itemclick event fires again which opens window1 again even though button1 does not call for window1 to open.

    Private Sub RadTreeView1_NodeClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTreeNodeEventArgs) Handles RadTreeView1.NodeClick
        Dim clickedNode As RadTreeNode = e.Node
        'RadPanelBar1.DataBind()

        If clickedNode.ParentNode.Text = "Other Approvals" Then
            abview1.Visible = True
            abview1.idAgendaBills = clickedNode.Value
            abview1.DataBind()
        Else
            hideControls()
end sub
        End If

Obviously I don't want that to happen. Are there any workarounds to this? Thanks!
PJ Rodriguez
Top achievements
Rank 1
 answered on 29 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?