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

Trying to access an <asp:dropdownlist> from <telerik:GridTemplateColumn> in the ItemCommand event of a RadGrid. 

 

 

BarID is the unique column name on the template column
ddlBarID is the id of the dropdownload

GridEditFormItem editedItem = (GridEditFormItem)((GridDataItem)e.Item).EditFormItem;
DropDownList ddlBar = 
(DropDownList)editedItem["BarID"].FindControl("ddlBarID");
Label1.Text = "BarID null: " + (ddlBar == null).ToString();
ddlBar.Items.Add("TEST");

 

 

I get Object reference not set to an instance of an object.


any help is appreciated.  been banging my head on this one for two days now.

 

Shinu
Top achievements
Rank 2
 answered on 13 Jul 2012
3 answers
87 views
Hi,
I have a situation in which in case of monthview display only no. of appointment on that day and in dayview i have to show appointments. I have written code on OnTimeSlotCreated event for counting no. of appointments and it works fine, but appointments is also display in monthview. How can i only display no. of appointments on that day not actual appointments.
Andy
Top achievements
Rank 1
Iron
 answered on 12 Jul 2012
2 answers
218 views
Hi.

I have a page with several RadTabStrip/RadMultiPage combinations.  One of them dynamically loads copies of the same user control (with a parameter from the value of its RadTab) into correlating RadPageViews.  I have a 'Delete' button on the contained usercontrol that deletes its specific data.  So, then the whole RadTabStrip and PageViews needs to be rebound to reflect the change (which will have one less tab/pageview after the delete).  I can do this easily by simply reloading the whole page, but I would like to be more elegant, and do that with ajax.  How can a button event on a single PageView's usercontrol locate the containing RadTabStrip, and initiate a rebind via ajax?

Thanks for any help!!

Tom Stanley
T. Stanley
Top achievements
Rank 1
 answered on 12 Jul 2012
1 answer
77 views
Is it possible to disable Appointment Inline Insert and Edit
Tudor Dragos
Top achievements
Rank 1
 answered on 12 Jul 2012
2 answers
101 views
Hi Telerik,
I'm facing the following issue: If "Insert External Video" tool is launched in RadEditor (which itself is displayed in RadWindow), its' buttons are hidden (because of small screen resolution), but no scrollbars are shown (see the image attached). Is there a way how to force the "Insert External Video" tool window to have scrollbars displayed?
Thanks in advance.
Regards
Zdenek Jelinek
Rumen
Telerik team
 answered on 12 Jul 2012
1 answer
123 views

 

Hello,

I am new to Telerik. I am struggling with finding a list of methods and properties for the RAD controls.

 I can see from intellisense that the controls have a lot to offer.

 I was able to find the code samples, I downloaded the "Rad Controls AJAX Courseware", and found other documents online - but I was did not find a list of properties and methods (like the you would find on the MSDN site).

 Can someone direct me to the right location please?

 Thank you,

Slav
Telerik team
 answered on 12 Jul 2012
5 answers
149 views
I am getting XSL data in the RadEditor with EditMode as HTML in the mark-up. But the Editor is automatically modifying my XSL data and showing it in Rad Editor. I want exact same data to be shown. I tried adding ContentFilter="ConvertToXhtml" but it didn't work.

What should I do to show my XSL data in Rad Editor exactly same as in database?

FYI: I have set Rad Editor in Editmode="HTML" so there is no option of switching modes.

HELP!!!!!!!!!
Rumen
Telerik team
 answered on 12 Jul 2012
5 answers
147 views
Hi, Telerik Team

How to automatically change the start time and end time of appointment item to new value after moving the appointment item in telerik Scheduleview to new place?
Plamen
Telerik team
 answered on 12 Jul 2012
1 answer
169 views
Hi, i'm trying to upload some files and write them away.
But everytime i do a postback the files are gone, anyone have an idea what i'm doing wrong ?

Front end code
<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" MultipleFileSelection="Automatic">
</telerik:RadAsyncUpload>


Backend
Protected Sub btnsaveimages_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnsaveimages.Click
         If RadAsyncUpload1.UploadedFiles.Count > 0 Then
             For Each file As UploadedFile In RadAsyncUpload1.UploadedFiles
                 file.SaveAs("~/" + file.FileName)
              Next
         End If
     End Sub

Or on fileuploaded
Sub RadAsyncUpload1_FileUploaded(ByVal sender As Object, ByVal e As FileUploadedEventArgs) Handles RadAsyncUpload1.FileUploaded
 
        e.File.SaveAs(Server.MapPath("~/Upload/Images/ImgGallery/2/" + e.File.FileName), True)
 
    End Sub


I always get the following error: 
Could not find file '***********\App_Data\RadUploadTemp\1341910388330Lighthouse.jpg'.


Bozhidar
Telerik team
 answered on 12 Jul 2012
1 answer
78 views
Hello,
We faced a problem that undo/redo functionality does not work correctly in IE9.
The issue can be reproduced on RadEditor demo.

1. Place a cursor into the text begining.
2. Press Enter several times.
Undo/Redo buttons do not work for such a change.

Could you please respond if it can be fixed?
Vessy
Telerik team
 answered on 12 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?