Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
434 views
How to get all selected items from checkboxlist using foreach loop?
Vessy
Telerik team
 answered on 25 Feb 2021
8 answers
604 views
hi

I have a radgrid that is ajaxified. All works fine except that i want a refresh of page when i do a paging on the grid. How should i go about it. Thanks

Sorry for any inconvenience caused.
Rumen
Telerik team
 answered on 25 Feb 2021
1 answer
103 views
 I inherited an application built using Sitefinity I think. There is an area where the asp button is disabled by anchor tags. Not sure how it is being disabled. The anchor tag has style "rfdInputDisabled" that surrounds the <input type="submit" >
Savio
Top achievements
Rank 1
 answered on 24 Feb 2021
2 answers
190 views
there are numerous but unhelpful threads about $find() failing to find radajaxmanager, a problem i am currently encountering after several weeks of successful operation. what must be true in order for $find() to find radajaxmanager???

i have a page with an ajaxcontrols toolkit tab. the first tab contains a grid whose rows can be selected (only 1 at a time). above the tab control is a radajaxmanager. the client onrowselected event is as follows:
    <script type="text/javascript" id="telerikClientEvents1">
//<![CDATA[
    function SaleEventsRadGrid_OnRowSelected(sender,args)
    {
  //find and set some other controls. then do the following to rebind a grid on another tab:
        $find("<=RadAjaxManager1.ClientID%>").ajaxRequest();
    }
//]]>
</script>

Error: Unable to get value of the property 'ajaxRequest': object is null or undefined

why can't $find() find radajaxmanager even though it can find any other control i wish to find? the aspx page uses a master page containing radscriptmanager.

Allen
Top achievements
Rank 2
Iron
Veteran
 answered on 24 Feb 2021
1 answer
118 views
I'm using https://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/programmatic/defaultvb.aspx?show-source=true as an example for client side binding, however for columns with datetime data type I can't get the filter to work properly when EnableRangeFiltering is enabled. Does anyone have an example to make the BuildParameter correct, in which case GridKnownFunction.Between is used and the values are passed in expression.FieldValue separated by space. Example: "01/01/2021 07/01/2021". Thanks
Attila Antal
Telerik team
 answered on 24 Feb 2021
1 answer
171 views
I have a RadGrid being populated and displaying but the client needs a condition format for the grid to display new columns while hiding others. Is there a way to display the same grid on two different pages with different data source?
Attila Antal
Telerik team
 answered on 24 Feb 2021
2 answers
1.6K+ views
We've set up a group of buttons with the toggle type set to radio and the button type set to standard.  Basically, one and only one button can be activated at a time.  We can't figure out how to determine which button was actually pressed though.  When we we cycle through the button controls, there is no setting we can test to see if it's currently the one pressed.  We tried to wire up an event but we lose context on postback.  How can we do this?
Attila Antal
Telerik team
 answered on 24 Feb 2021
1 answer
56 views

 

I have the following Combobox

<telerik:RadComboBox ID="cbAcctType" runat="server" DataValueField="ACCT_TYPE_ID" DataTextField="acct_code" RenderMode="Classic"
    AutoPostBack="True" CausesValidation="False" Width="100%" DropDownWidth="400px" HighlightTemplatedItems="True"
    InputCssClass="required_cb" EnableLoadOnDemand="true" AppendDataBoundItems="True">
    <ItemTemplate>
        <asp:Table runat="server" CellPadding="0" CellSpacing="0" Width="100%" GridLines="None">
            <asp:TableRow>
                <asp:TableCell Width="30%">
                    <%# DataBinder.Eval(Container.DataItem, "acct_code") %>
                </asp:TableCell>
                <asp:TableCell Width="70%">
                    <%# DataBinder.Eval(Container.DataItem, "acct_description") %>
                </asp:TableCell>
            </asp:TableRow>
        </asp:Table>
    </ItemTemplate>
</telerik:RadComboBox>

 

and I bind it with the following code:

cbAcctType.DataSource = ds.Tables("AcctType")
cbAcctType.DataBind()

 

Sometimes the code associated with an account will expire and no longer be available in the available list, but it still exists so I have to individually retrieve it and add it to the combobox list.  Here is my code for that process

Dim oItem As New RadComboBoxItem
oItem.DataItem = ds.Tables(0).Rows(0)
oItem.Value = ds.Tables(0).Rows(0).Item("ACCT_TYPE_ID").ToString
oItem.Text = ds.Tables(0).Rows(0).Item("acct_code").ToString
oItem.Selected = True
cbAcctType.Items.Add(oItem)

 

And that's where the wheels come off.  The items is there but only sort of.  It will get selected but there is no items in the list.  and it usually throws and ASPX page error the <%# DataBinder.Eval(Container.DataItem, "acct_code") %> doesn't exist.

What is the piece of the puzzle that's missing?  I have tried it with oItem.DataBind() and that doesn't solve things. 

SSirica
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 23 Feb 2021
1 answer
143 views
How do I remove rows on Biff Export?  I want them to be visible in the app but removed when exported if a particular column has a null value.
Doncho
Telerik team
 answered on 23 Feb 2021
1 answer
279 views
Looking for advice on how you have used Telerik tools to build help files for web apps without building individual pages.  Trying to find a way to build it into a database etc versus just a static hard coded page.
Attila Antal
Telerik team
 answered on 23 Feb 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?