Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
220 views
Hi there,

How can i update fields in my grid when in insert template form mode?
I have a radcombobox bound to a datasource that displays cost types eg: M,M1,M2.....
When the user selects lets say M1 then i want some textboxes of the form eg employee portion,company portion  to updated using calculated data that i will include in my code.
 
I ques my calculations will be placed at :

Protected Sub costtyperad_SelectedIndexChanged(ByVal o As ObjectByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs)  
 
    End Sub 

but how do i access and set values in the other textboxes that are bind in my datasource?

Thanxs in advance
Panos
Panayiotis Pelekanos
Top achievements
Rank 1
 answered on 09 Feb 2009
3 answers
133 views
hi,

i was looking at the filter capability of RadGrid filter, but all demos are showing the filters which sends filter request for each column.  we have a requirement of sending the all column's filter criteria in one request. i saw the sample application "Single filter button for all columns in RadGrid"  from code library, but i notice that filter menu options are not visible, so user can not select the filter criteria. is it possible to have those filter options along with the common button or link apply?

Thanks
Yavor
Telerik team
 answered on 09 Feb 2009
1 answer
118 views
Hello
I have a radgrid with mastertableView and detailtableView...
In the RadGrid_DataBound event I would like to know how much detailtable row does it have.
Here is a part of my code
Private Sub RadGrid_offre_DataBound(ByVal sender As ObjectByVal e As System.EventArgs) Handles RadGrid_offre.DataBound  
        Dim grid As RadGrid = TryCast(sender, RadGrid)  
        Dim gridItems As Integer = grid.MasterTableView.Items.Count  
        If gridItems < 6 Then 
            grid.Height = 250  
        Else 
            grid.Height = 250 + (gridItems * 30)  
        End If 
        If grid.Height.Value > 650 Then 
            grid.Height = 650  
        End If 
    End Sub 
I would like to know the items.count of the child of my mastertableview
something like
grid.mastertableview.detailtables.items.count..
Hope that makes sense
Thank you
Shinu
Top achievements
Rank 2
 answered on 09 Feb 2009
3 answers
227 views
Hi,
I am opening a new radwindow only using the Radwindow Manager control and the javascript function on the Master page. But once the master page is postback the window opened before dispappers. Does the Radwindow is opened only for that instance it is active. Here is the code I am using in master page.

<radW:RadWindowManager ID="RadWindowManager1" InitialBehavior=Minimize Width="500px" Height="400px" runat="server">

</radW:RadWindowManager>

If Not IsPostBack Then
               
                    Dim sScript As String = "<script for='window' event='onload' type=""text/javascript"">"

                    sScript += "  var oWnd = window.radopen(""WFTaskTrack.aspx"", ""RadWindow1"");"
                    'sScript += "   oWnd.Center();"

                    sScript += "</Script>"
                    Page.ClientScript.RegisterClientScriptBlock(Me.GetType, "", sScript)
End If



Thnx
Georgi Tunev
Telerik team
 answered on 09 Feb 2009
1 answer
257 views
Hi everybody,

I have a little problem that i getting me crazy.
I have a ajax page with different comboboxes, after the a selection I have to change some data on different controls, so I have to postback my page. When the page reload I lose the focus on my dropdown list.
I've tried to set the focus, via code with the code

RadAjaxManager.FocusControl(myControl);, via javascript and using the radAjaxPanel.

But none of this solutions worked for me.

I just wanted to ask if somebody of you has some advice for me to resolve my problem?!

Thank you very much

Raphael

Iana Tsolova
Telerik team
 answered on 09 Feb 2009
0 answers
120 views


In my application tree view is placed inside splitter controls, i am adding the node, at this time reload the tree view, now it possible to retain information like width and height of tree view exactly before reloading?

Guna
Top achievements
Rank 1
 asked on 09 Feb 2009
6 answers
494 views
Is there any way to directly set what sort icon is shown in a column header? The sorting of the data is already being taken care of by the service layer of the app I'm working on, so I don't want the grid to take care of any sorting. All I need to do is change the sort icon when the grid is rebound, and I can't seem to find a way to do this. Is there one?
Shinu
Top achievements
Rank 2
 answered on 09 Feb 2009
5 answers
120 views
Hello,

I want to "freeze" the target choice list to offer only the "New Window" option. By our policy, all the links in the rich content should open in a new window and we want to disable other options for the end users.

Is this feasible just by configuring RADEditor for MOSS or we need to make a custom JavaScript function that strips the options down to only one?

Thank you in advance,

-- Edin
Stanimir
Telerik team
 answered on 09 Feb 2009
1 answer
62 views
We are having a problem with setting up Targets of a ContextMenu when its in a custom control along with a RadioButtonList.

Version 2008.3.1314.35

We have a custom TabStrip with Tab controls, we load a User Control /ascx into the Tab based on the menu chosen into the ClientArea...when this user control contains a RadioButtonList, the Target id changes to the RadioButtonList id, any other user control we load is fine as long as it doesn't have a RadioButtonList.

Here is a snippet of the output during each $create(Telerik.Web.UI.RadContextMenu, what we expect and works fine.
targets":[{"id":"TabStrip1_Tab0","type":0}]
targets":[{"id":"TabStrip1_Tab1","type":0}]
...etc for how many tabs we have, id changes for each Tab

Here is what happens when there is a RadioButtonList in the user control.. every target is same id.
"targets":[{"id":"TabStrip1_ClientArea_WebUserCenterTabRenewals_WebUserCenterTabRenewalsViewOptions_ctl00_rblRenewalsDisplay","type":0}]
"targets":[{"id":"TabStrip1_ClientArea_WebUserCenterTabRenewals_WebUserCenterTabRenewalsViewOptions_ctl00_rblRenewalsDisplay","type":0}]
...etc for how many tabs we have, same target Id though.

Please advise.

Thanks
Yana
Telerik team
 answered on 09 Feb 2009
3 answers
191 views
Hi,

I have tried searching for this issue, but not found a relevant post, so here is my question/problem.

Using 2008 Q3 RadGrid (Ajax), Dot net 3.5

The GridGroupFooterItem does not allow reference to a column by UniqueName, this contrasts with GridDataItem and GridFooterItem.

Basically, in the ItemDataBound event, if e.Item is a GridDataItem or a GridFooterItem, it is possible to reference a partiucular column by the column UniqueName using CType(e.Item, GridDataItem)("UniqueName").Text or CType(e.Item, GridFooterItem)("UniqueName").Text.

Unfortunately, when e.Item is a GridGroupFooterItem, this technique no longer works (Get an error about no default property). I would guess that since GroupFooters were a recent addition, the particular feature was just forgotten.

Of course I don't want to use numeric indexes CType(e.Item, GridGroupFooterItem).Cells(xx) since that breaks the column independence idea of UniqueNames.

How can I dynamically discover the cell (or the cell index) from the unique name?
Tsvetoslav
Telerik team
 answered on 09 Feb 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?