Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
77 views
Hy fellas

when I put a radcombo inside de edititemtemplate the radcombo cannot find de sqldatasource. Why it is happening?

Thanks a lot
carlos
Top achievements
Rank 1
 answered on 10 Dec 2008
3 answers
154 views

i have a radmaskedtextbox defined below. you can only type one number in it. it works fine in ie and safari, but not in firefox. it is defined as:

 

 

<telerik:RadMaskedTextBox SelectionOnFocus="SelectAll" TabIndex="7" Columns="12" PromptChar="" DisplayMask="###-###-####" ID="txtContactNumber" Mask="###-###-####" MaxLength="12" runat="server" Skin="Web20" />

thanks for the help.
susan

 

Susan
Top achievements
Rank 1
 answered on 10 Dec 2008
2 answers
57 views
I have a large test Sales Order application that contains Telerik, and ComponentArt controls. I have a Telerik Script Manager, ComboBox, AjaxManager, and a Component Art Grid. I've had a horrible experience with the CA controls, and am in the process of converting all the controls to Telerik (btw they are 10x better!).

I have a ComboBox that queries 9000 items, and returns 25 per page. When an item is selected it calls an AJAX function and returns item information.

When calling the AjaxManager I send 40 KB, and receive 8 KB. At first I thought it was my ViewState, so for testing I disabled it on the Page and AjaxManager. Still the same. I have included a link to an HttpWatch log of this problem. Do you know what might be the issue?

http://www.murphysmagic.com/httpwatch.zip

brad
Vlad
Telerik team
 answered on 10 Dec 2008
5 answers
182 views
Hi

Iam recreating a old application from ASP, the application is a data input application, it has everywhere from 1 to 300 rows.
I have a RadGrid, (performing very well), within these RadGrids i have 4 TextBoxes for each row, encapsulated by an ItemTemplate.

The thing is with 100 rows i will have 400 textboxes, this is no problem at all using ASP:TextBox (site loads within 1 second) however doing this with RadNumericTextBox it takes 8-9 seconds loading and then another 4-6 seconds where the UI freezes up (might be some style adjustments or something.)

Is this just the way it is or am i doing something wrong ?

Iam using RadNumericTextBox because it has a very nice way of showing illigal inputs and automatically limits the input.

Dimo
Telerik team
 answered on 10 Dec 2008
2 answers
195 views
Hi,

How can I create a button, which opens a popup to enter a youtube url? This will then embed a youtube video into the editor.

Thanks,
Curt.
Curt
Top achievements
Rank 1
 answered on 10 Dec 2008
1 answer
113 views
Plz help, I can't self-reference bind when I'm using the new Entity Framework Datasource
Yavor
Telerik team
 answered on 10 Dec 2008
3 answers
184 views
Hi,

We have a radGrid with one pre-defined checkbox column. To this grid we bind a dynamically generated datatable. Based on a certain logic we have to hide some of the columns in the grid. We are using the following code piece

Sub Page-Prerender
grdlist.datasource=databale
grdlist.databind

 

For Each col As Telerik.Web.UI.GridColumn In grdList.Columns

 

 

If col.UniqueName = "Field to Check" Then

 

col.Display =

False

 

 

Exit For

 

 

End If

 

 

Next
end sub

However the Grid seems to have only one column even in the page prerender hence we dont get to access the column at all. Which event must be used to hide a column?

Issue #2

BTW i also see the checkbox column always grayed even though i have given "REadonly" as "false". What we need is to give a user functionality to click the check boxes and click delete / assign.

1. How to enable the checkboxes in the grid
2. How to get the checked items.

 

Princy
Top achievements
Rank 2
 answered on 10 Dec 2008
1 answer
126 views
Hi,

In my application i use a customadvancedtemplate, in the usercontrol -> advancedform: i have for example: textbox, repeater

I would like in radscheduler_AppointmentInsert event to access/findcontrol that are in advanceform, is possibile to make this? because it is more important.

find:   textbox, repeater

Thanks


Rubihno
Top achievements
Rank 1
 answered on 10 Dec 2008
1 answer
114 views
Hi
I've set up onclick handler for the chart to enable the user to click on the bars and get  detail info on the series item (the items are added programmatically and this seems to be the only was to to handle the click).  Is there a way to prevent the onclick event firing when the user clicks on the legend?  I'm getting the followin exception:

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Thanks
Giuseppe
Telerik team
 answered on 10 Dec 2008
1 answer
235 views

I have two tables.
STAFFMEMBER
StaffNumber : int PK
FirstName : nvarchar(50)
LastName : nvarchar(50)
TeamID : int FK

TEAM
TeamID : int PK
TeamName : nvarchar(50)

Using the entity framework and RadGrid (2008.3.1105) I am attempting to edit the staff members. Retreiving the list of staff members requires me to include the Team object in oder to update and view the team they belong to. I therefore have to use an object query instead of the EntityDatasource (which works) to navigate the object graph.

In my StaffGrid_NeedDataSource method I have the following code:

protected void Grid_NeedDataSource(object source, GridNeedDataSourceEventArgs e)  
{  
    StaffGrid.DataSource = context.StaffMembers.Include("Team").OrderBy(p=>p.LastName);  

When I select a row to edit via a LinkButton, with CommandName="Edit" I get the following error:
"The ObjectContext must be configured by 1) defining ContextTypeName, 2) defining both ConnectionString and DefaultContainerName, 3) defining ContextType, or 4) supplying it in the OnSelecting event."

These attributes in the error are defined in an EntityDataSource which I am not using due to my customised object query.
I have been using RadGrid for a long time with the ObjectDataSource and am moving to the Entity Framework.

What exactly am I missing or is this not fully supported?
Grooverinthesouth
Top achievements
Rank 1
 answered on 10 Dec 2008
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?