Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
162 views

We are using the RadGrid control with vertical scrolling enabled. It sits within a divstructure whereby the control can be resized using a vertical splitter – i.e.the grid control will resize when the divs are resized by the splitter. Thisappears to work fine as long as the vertical scrollbar of the grid is notdisplayed. If overflow occurs and the scrollbar is displayed, when the grid isresize using the splitter, the data columns resize correctly, but the headersare completely static. Thus, the headers are completely out of line with thedata content. This is true in IE7, IE8, Firefox and Chrome. Is there a way to fix this or something I might be missing?


Many thanks


Sam

Schlurk
Top achievements
Rank 2
 answered on 02 Feb 2010
3 answers
162 views
i have a asp button called delete.i want that when i push delete button radwindow asks "are you sure want to delete" than i want to called the sp with its return.i put a two asp button in radwindow called ok and cancel but when i called it , it does not show me the buttons.can you help me about how can i make this senario?
Teoman
Top achievements
Rank 1
 answered on 02 Feb 2010
5 answers
147 views
I have a RadGrid with State, County and Customer columns.  Each column has a dropdown for filtering.  I need the County filter to be hidden and empty until a state is selected from the State filter.  Once a user has selected a state in the State filter dropdown, the County filter should become visible and contain ONLY counties that correspond to the chosen state.  I can't seem to get the County dropdown to be affected in any way.

Anyone have any ideas?

Here's some code:

    <telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" AllowPaging="True" 
      AllowSorting="True" AutoGenerateColumns="False" DataSourceID="odsVendorFees" GridLines="None" 
      EnableAjaxSkinRendering="true"> 
      <MasterTableView DataSourceID="odsVendorFees"> 
        <RowIndicatorColumn> 
          <HeaderStyle Width="20px"></HeaderStyle> 
        </RowIndicatorColumn> 
        <ExpandCollapseColumn> 
          <HeaderStyle Width="20px"></HeaderStyle> 
        </ExpandCollapseColumn> 
        <Columns> 
          <telerik:GridBoundColumn DataField="StateName" HeaderText="StateName" SortExpression="State" 
            UniqueName="STATENAME"> 
            <FilterTemplate> 
              <asp:TextBox runat="server" ID="TextBox1" Style="display: none;" /> 
              <telerik:RadComboBox runat="server" ID="ddFilterSN" AutoPostBack="true" DataSourceID="odsStates" 
                DataTextField="StateName" DataValueField="StateCode" OnSelectedIndexChanged="ddFilterSN_SelectedIndexChanged" 
                Skin="Outlook" AppendDataBoundItems="true"> 
                <Items> 
                  <telerik:RadComboBoxItem runat="server" id="iPubNameBlank" Text="" Value="" /> 
                  <telerik:RadComboBoxItem runat="server" id="iPubNameClear" ForeColor="Blue" Font-Italic="true" 
                    Text="Show All States" Value="Clear Search" /> 
                </Items> 
              </telerik:RadComboBox> 
            </FilterTemplate> 
          </telerik:GridBoundColumn> 
          <telerik:GridBoundColumn DataField="CountyName" HeaderText="CountyName" SortExpression="County" 
            UniqueName="COUNTYNAME"> 
            <FilterTemplate> 
              <asp:TextBox runat="server" ID="TextBox2" Style="display: none;" /> 
              <telerik:RadComboBox runat="server" ID="ddFilterCN" AutoPostBack="true" DataTextField="CountyName" 
                DataValueField="CountyName" OnSelectedIndexChanged="ddFilterCN_SelectedIndexChanged" 
                Skin="Outlook" AppendDataBoundItems="true"> 
                <Items> 
                  <telerik:RadComboBoxItem runat="server" id="iPubNameBlank" Text="" Value="" /> 
                  <telerik:RadComboBoxItem runat="server" id="iPubNameClear" ForeColor="Blue" Font-Italic="true" 
                    Text="Show All Counties" Value="Clear Search" /> 
                </Items> 
              </telerik:RadComboBox> 
            </FilterTemplate> 
          </telerik:GridBoundColumn> 
          <telerik:GridBoundColumn DataField="CustomerName" HeaderText="CustomerName" SortExpression="Customer Name" 
            UniqueName="CustomerName"> 
          </telerik:GridBoundColumn> 
        </Columns> 
      </MasterTableView> 
    </telerik:RadGrid> 
 


    Public Sub ddFilterSN_SelectedIndexChanged(ByVal sender As Object, ByVal e As RadComboBoxSelectedIndexChangedEventArgs) 
        ' filter the grid based on state name 
        Dim filterItem As GridFilteringItem = DirectCast(RadGrid1.MasterTableView.GetItems(GridItemType.FilteringItem)(0),  _ 
        GridFilteringItem) 
        Dim ddCN As RadComboBox = CType(filterItem("COUNTYNAME").Controls(3), RadComboBox) 
 
        If e.Value = "Clear Search" Then 
            ddCN.Visible = False 
            RadGrid1.MasterTableView.FilterExpression = Nothing 
            RadGrid1.Rebind() 
        Else 
            Dim lstCounties As List(Of County) = CountyDAL.GetCountiesByStateCode(e.Value) 
 
            TryCast(filterItem("STATENAME").Controls(1), TextBox).Text = e.Text 
            filterItem.FireCommandEvent("Filter", New Pair("EqualTo", "STATENAME")) 
 
            ddCN.DataSource = lstCounties 
            ddCN.DataBind() 
            ddCN.Visible = False 
            RadGrid1.DataBind() 
        End If 
    End Sub 
 




Marc Lee
Top achievements
Rank 2
 answered on 02 Feb 2010
1 answer
119 views
Hi

I have a RadNumericTextBox and a dropdownlist with the options of 0 and 2.

In the onSelectionChanged javascript event of the dropdownlist I set the number of DecimalDigits on the RadNumericTextBox to the selected value.

$find(clientId).get_numberFormat().DecimalDigits = 2;

This works, but the display of the RadNumericTextBox is not updated.  So if I currently have 5.55 in the box and and switch the dropdownlist to 0, the box will still show 5.55.  If I then click in the box and click out, it will show 5.

Is there a way to make the display update when i change the DecimalDigits property, and not require that it gets focus?

Thank You
Caleb Sandfort
Top achievements
Rank 1
 answered on 02 Feb 2010
1 answer
142 views
Hi,

    I am using scale breaks for my bar chart and I am wondering how to adjust the value at which the scale break occurs. There is a property - valueTolerance but it accepts a BYTE value and I am not sure how to use it. Or is there a way I could do specific customizations using the axisSegment property?

Can anybody help?

Thanks,
wayne
Ves
Telerik team
 answered on 02 Feb 2010
2 answers
165 views
I have two columns in a radgrid. 

Column1 = Client
Column2 = Category

The catgory column is related to employees.  When I select edit item on the grid i need my category dropdownlist to only show categories for that client.  And if I switch the client in edit item mode i need the category drop down list to update to reflect the new categories.


Thanks,

Jon
Jon Markee
Top achievements
Rank 1
 answered on 02 Feb 2010
2 answers
172 views
I get the feeling that I will have to upgrade to a new version of Telerik.Web.UI to use the ListView, is this correct?

Currently I am on version 2008.03.1314.35 and I get the following error Unknown server tag telerik:RadListView 
Mike
Top achievements
Rank 1
 answered on 02 Feb 2010
1 answer
142 views
Hi,
    
 The attachment is the error i am getting when i deploy my application in the IIS. It's working fine with visual studio but i don't know y i m getting this error after deploying.

I haven't used any rad script manager in the application still it's refering to it.can you please help me in this regard and resolve the issue.

Thanks & Regards
        Rajesh
Vesko
Top achievements
Rank 2
 answered on 02 Feb 2010
1 answer
143 views
When I enable reordering in a list box as well as multiple-select, the control doesn't reorder the items properly. Example:
Initial List:
Text     SortID
A            1
B            2
C            3
D            4
E            5

If you select C, D & E and drag them between A&B, you should get a list sorted like A C D E B.  However, here's what you get:
Text    SortID
A            2
B            3
C            4
D            5
E            3

Which results in an order of A E B C D (it effectively only moves the last item you selected).  Actually, it is not even predictible since sortID 3 is duplicated.

This looks very much like a bug - is there a workaround or a fix available?
Yana
Telerik team
 answered on 02 Feb 2010
1 answer
85 views
I am building a Google like filtering radgrid composite component which will be used on multiple projects\multiple pages.  I am looking for best practices on how to dynamically build the Google like filtering feature when the number of columns is unknown.
Pavlina
Telerik team
 answered on 02 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?