Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
106 views
I am looking into the viability of the treelist control and have a question.

I have a sample treelist on the screen where the data source is a simple list of data objects.

I have a button the screen that just adds an extra item of data to the server side data list, but I need to know how to get the tree to refresh automatically.  If I expand any item in the tree, my new item appears, so I know the new data is being added.
Mark
Top achievements
Rank 1
 answered on 28 May 2013
1 answer
220 views
Hi,

I am experiencing the exact problem described in the following thread (http://www.telerik.com/community/forums/aspnet-ajax/combobox/target-for-the-callback-could-not-be-found.aspx)... I am loading a User Control dynamically from the masterpage's code behind and the included Combobox with EnableAutomaticLoadOnDemand = true fails on loading with the message: The target 'XXXXXXXXXXXXXXXXXXX' for the callback could not be found or did not implement ICallbackEventHandler.

Did you find a solution finally?

My UC code:
<telerik:RadAjaxManagerProxy ID="AjaxManagerProxy1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="ProductList">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="ProductList" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>
<telerik:RadComboBox ID="ProductList" runat="server" DataTextField="Name" EnableAutomaticLoadOnDemand="true" MarkFirstMatch="true" EnableItemCaching="true" Filter="Contains" DataValueField="Id" ShowMoreResultsBox="true" EnableVirtualScrolling="true" ItemsPerRequest="20" Width="350px"></telerik:RadComboBox>

My UC code behind:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim sqlDS As New SqlDataSource
            sqlDS.ConnectionString = connString 'Defined previously
            sqlDS.SelectCommand = sqlQuery 'Defined previously
            ProductList.DataSource = sqlDS
            ProductList.DataBind()
End Sub

MasterPage code behind loads the UC with LoadControl. Masterpage also includes RadAjaxManager.

Thanks.
Plamen
Telerik team
 answered on 28 May 2013
3 answers
311 views
Hello,

I am working to better understand how filtering is applied to the RadGrid and if I can determine if an item in the grid will be visible or not (due to a filter being applied) in the ItemDataBound event.   Could someone point me to documentation that explains how filters are applied and the various events I could use to either determine what is being filtered or affect what will be filtered?

My specific use for this is to generate a unique list of items in a specific column in the grid after the filter is applied.  I have determined that the ItemDataBound event fires when a filter will be applied, but have been unable to detemine how the filter is applied or if there is an event exposed to me that would allow me to see this.

Thanks,

Sean Severson
Eyup
Telerik team
 answered on 28 May 2013
1 answer
154 views
Hi,

I have a RadGrid that use:

tmpGrid.ClientSettings.Scrolling.AllowScroll = True
tmpGrid.ClientSettings.Scrolling.UseStaticHeaders = True

and I have this css rule:

.rgDataDiv {
    -webkit-overflow-scrolling: touch;
}

but for some reason, the rgDataDiv doesn't use the iOS native scrolling. I tried this rule on any other div I have in my app and it works perfectly, but not on the rgDataDiv.

Is that a known issue? Or is there a work around?

Thanks.
Marin
Telerik team
 answered on 28 May 2013
1 answer
174 views
Hi, 
I am having this weird problem with my aspx page design page.
I inserted a panel in a cotentPlaceHolder, within there is a table.
on the design page I get the error "error creating control . unknown server tag 'telerik:RadTextBox'.
when i run this page to the browser it look fine.

help!
Princy
Top achievements
Rank 2
 answered on 28 May 2013
1 answer
230 views
I am using Telerik's Rad Textbox in my asp.net application, when the browser prompts me to save username and password, I click Yes, the browser then populates the username and password in the textboxes but when I click submit button or click enter, an empty textbox error message is shown .  In other words I want to built a login page with rad textboxes and want the browser to remember username and password. The version I'm using is 2012_3_1308.     Thanks
Princy
Top achievements
Rank 2
 answered on 28 May 2013
5 answers
201 views
Hi - I have taken over the development and maintenance of an AspDotNetStoreFront website which utilises the Telerik RadEditor and have encountered an issue when updating a topic.

This issue is based around the auto completion of valid XHTML and it being saved to the database.  I have researched various posts and information but cannot find any specific information which matches my problem.

the problem:

The client highlighted me to a page where the layout of the front end of the site was displaying incorrectly, and so viewing the code within the page I could see INVALID HTML <div> elements.  Navigating to the admin area where the page information was stored, I could see the code within the RadEditor (HTML mode) and copied and pasted the code - running through it I could see that all opening <div> elements had their corresponding closing </div> elements.

having run a few tests, I can confirm the following:

opening an empty radeditor page, and typing within the HTML mode:

<div>

clicking update, this refreshes the page and updates the database - the RadEditor now displays <div></div> within the HTML mode window.

Checking the database - the value inserted is only <div> !!!

if I simply update the RadEditor again without changing anything, this then injects the full <div></div> as this is the value being passed from the editor to the SQL update statement.

So, if a customer accidentally inserts some invalid HTML, this will break their layout, but then viewing the code in the RadEditor, it has been corrected to be valid - but this is NOT what is stored in the database.  Double updating could be a solution, but the client is NOT happy with this in any way (as small an action as it is - he doesnt not feel it is acceptable).

PLEASE can you help to diagnose what this is doing and why.
in an ideal world I would like to turn off the auto XHTML (something I believe is not possible based on previous forum requests from others) - or at least fix the problem so it sorts out the XHTML BEFORE it submits to the database, therefore saving the correct HTML code.

Your help is very much appreciated.
Nikolay
Telerik team
 answered on 28 May 2013
6 answers
143 views
Hi, 

I have a radgrid which i populate runtime using a dataset.
After that i need to add a radcombobox to every cell in one column of the radgrid.

For eg in the code below, for all cells in the "SECOND" column, i need a dropdown.
Can I get some help? Sample code will be very helpful

Dim tbl As DataTable = New DataTable
       tbl.Columns.Add("FIRST")
       tbl.Columns.Add("SECOND")
       Dim i As Integer
       For i = 0 To 4
           Dim row As DataRow = tbl.NewRow
           row.Item(0) = "ONE"
           row.Item(1) = "TWO"
           tbl.Rows.Add(row)
       Next
       RadGrid1.DataSource = tbl
       RadGrid1.Rebind()

Princy
Top achievements
Rank 2
 answered on 28 May 2013
1 answer
95 views
Hi,

I have to write some server side custom code when user double click in Scheduler day cell (not on appointment). But not sure, how to capture double click event?

Thanks
Plamen
Telerik team
 answered on 28 May 2013
1 answer
252 views
Hello everyone ,
i have done with Export To Excel  but now i need some customization in that here is scenario,

when i click on Button ExportToExcel i need one Popup in that i want to List Out all Grid Column Name with CheckBox , where i can Check some of them and then press ok it will export file with that many of selected column from column.


Thanks
Princy
Top achievements
Rank 2
 answered on 28 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?