Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
73 views
Hi Guys,
I have 2 issues with the rad editor.  I've dropped it into my page and I've set the width to 490 however the edit doesn't listen to any width sizes I give it.  It always seems to be the width of the toolbar minus the last button which it pushes strangely onto the next line in the toolbar.

Any ideas on how to make the editor width work?  and how to stop the toolbar doing a funny wrap to the next line I've looked all over the forums however nobody seems to be having the issue where the editor isn't following the width set in the properties.
Mal
Top achievements
Rank 1
 answered on 20 Jul 2009
0 answers
113 views
I do not know how to delete this question. It was based on incorrect information
andieje
Top achievements
Rank 1
 asked on 19 Jul 2009
0 answers
146 views
Hi,

I've a project which is shared by many people in the team. We use VSS for source control.
Now, I installed Telerik trial version and been working. Suddenly, on friday, my radcontrols and AJax toolkit somehow got missed from the toolbox(I don't know why maybe I got a new working folder from VSS ). . so, in toolbox i opened up a new tab and browsed for telerik.web.ui.dll.
and got the radcontrols.
I also got AJax toolkit.
But the version i found the toolbox radcontrols were having is   2009.1.537.20

In my project , the reference was pointing to 2009.1.402.35.
wat happens is when i go and see in the aspx/ascx in design mode, i get an ugly red messgae telling: Telerik[A] canot be cast into Telerik[b]. I know this is some reference (assembly) problem.

What do i need to do?

1) if i go ahead and change the reference in my project,ppl are already using  old refernce : telerik.web.ui version 2009.1.402.35
So, do u want me change all my refernces in c:/prog files/telerik/radcontrols for asp.net ajax q1 2009/bin35 to old refernce or leave it like that.

Whatr should i do to make it working.

I tried many things after browsing the forumns .b ut nothing HELPED. SO, PLS TELL ME WHAT I NEED TO FIX IT. PLS DO ASK ME TO READ ATICLES/BLOGS.

  wE'RE USING TRIAL VERSION AND ENVIRONMENT: XP/VISTA(SOMEPPL HAVE VISTA AND SOME XP)
                                                                                    .NET F/W 3.5, vs2008


123 456
Top achievements
Rank 1
 asked on 19 Jul 2009
3 answers
181 views
hi telerik,
i have a rad grid with an in data key column (studentId) and a drodown column.
When I click on a row to edit it, item_created is fired and i get the correct record studentId from DataBinder.eval.
I attach selectedIndexChanged method on item_created to the dropdown record from the dropdown column, and set it's autopostback to True.
Now when i change the value on the dropdown, the page postback as expected, and first itemcreated is fired (later my selectedindexchanged event is fired too). the problem is that now the student id is 0! meaning that on edit mode, if the post back occured from an inner control on the selected row, the key is not retreived.
is there a proper way to retreieve the record key?
Hadar Kaufman
Top achievements
Rank 1
 answered on 19 Jul 2009
4 answers
134 views
I am attempting to disable ajax for an upload control, which is enclosed in a usercontrol that is used for edits/inserts/etc. I am following the example found here: http://demos.telerik.com/aspnet-ajax/Controls/Examples/Integration/RadUploadInAjaxifiedGrid/DefaultCS.aspx?product=grid,

However,  

var upload = $find(window['UploadId']); 

Always fails because

 protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) 
        { 
            if (e.Item is GridEditableItem && e.Item.IsInEditMode) 
            { 
                RadUpload upload = (RadUpload)e.Item.FindControl("RadUpload1"); 
                RadAjaxPanel1.ResponseScripts.Add(string.Format("window['UploadId'] = '{0}';", upload.ClientID)); 
            } 
        } 


Does not find my upload control, presumably because it is in the usercontrol. How would I go about finding the RadUpload within the UserControl in order to disable the ajax and upload files?
Suresh K
Top achievements
Rank 1
 answered on 18 Jul 2009
0 answers
84 views

Hi.
Can anyone help to me
how to write the code  to give comments to the Artical.
 Like this format :http://www.telerik.com/community/forums/aspnet-ajax/grid/disabling-ajax-for-uploads-with-a-usercontrol.aspx#0


  username                         comments here...
 
   photo

  down reply button.
  when i click the reply button i want to attach some more comment to that  Existing comment.
 can any one help me how to  store the image andattachment in database .and how to list out the comments.
Suresh K
Top achievements
Rank 1
 asked on 18 Jul 2009
1 answer
165 views

I need to know how to get a reference to the edit form during the datasource's Inserting event.

I can get a reference while Updating like this:

Dim ddlCountryOfOrigin As Telerik.Web.UI.RadComboBox

 

Dim editFormItem As GridEditFormItem

 

 

 

Dim editdataItem As Telerik.Web.UI.GridDataItem = _

 

 

 

CType(RadGrid1.EditItems(0), GridDataItem)

 

 

 

editFormItem = editdataItem.EditFormItem
ddlCountryOfOrigin = editFormItem.FindControl("ddlCountryOfOrigin")

However, RadGrid1.EditItems(0) isn't available during the Inserting event. What can I use to get a reference to my edit form while Inserting?

Thanks,
Ken

 

 

 

 

 

kencox
Top achievements
Rank 1
 answered on 17 Jul 2009
6 answers
285 views
I want to easily keep track of how much space users are consuming when the upload files through the editor and the file explorer.

I found out what events to monitor for the Editor to determine when a file is uploaded or deleted.

I found out what event to monitor for the File Explorer when items are deleted.  The ItemCommand event seems to fire for almost everything EXCEPT for when a file is uploaded.

Question: what event can I monitor to know when a file is uploaded via File Explorer?

I'd prefer not to write a custom provider although I may have to if I can't solve this one.

Thanks,
Kevin
Kevin Warnke
Top achievements
Rank 1
 answered on 17 Jul 2009
4 answers
200 views
I have a rad menu that I want to fill the entire width of the table/div it is in.  This isn't a problem, setting with to 100% or specific pixels.  What I want to do is to have the menu items spread out throughout the entire width of the whole menu. Basically I want the items to be justified (not the text, just the items). 
Amanda
Top achievements
Rank 2
 answered on 17 Jul 2009
7 answers
162 views
Greetings,

I want to use the RadEditor with all of its default toolbars and buttons.  On top of this I want to add one custom RadComboBox.

Is this possible and if so, is there and example somewhere of how to add the combo box in VB, HTML or the ToolsFile?

Thanks!!
John
Top achievements
Rank 1
 answered on 17 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?