Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
156 views
NEVER MIND - TURNED OUT TO BE SOMETHING ELSE.

I have our radupload control on an ascx and it used to work.  We consolidated projects and now RadUpload isn't working.  We can drop the control on the ascx in design and code it just fine, but if you run the app we get a javascript error:

'undefined' is null or not an object

Any help you could provide would be appreciated.

Meredith


Meredith Klinger
Top achievements
Rank 1
 asked on 15 Dec 2009
15 answers
215 views
Hi,

I'm rather new to this Telerik stuff, so please forgive me if I'm missing something obvious...

I have a "main page" with the RadSplitter and some panels, including a RadPanelBar for page navigation and a RadSkinManager for selecting the skin. From this PanelBar I'm opening RadWindows which will show the content pages (.aspx) inside the generated IFrame. Now if I change the skin with the SkinManager, how to I promote this change to the content pages in the RadWindows?

Thanks!
Jens
Top achievements
Rank 1
 answered on 15 Dec 2009
2 answers
555 views
I need to add a Template Column containing an image to a grid programmatically at Page Load time.  I have successfully added the column in the .aspx file, but do not know how to add the column in the code-behind file (using visual basic).  Here's the code for the .aspx file that I want to add:
        <MasterTableView NoMasterRecordsText="" AutoGenerateColumns="False" > 
            <Columns> 
                <telerik:GridTemplateColumn UniqueName="ImageFile" Groupable="False">  
                    <HeaderStyle ></HeaderStyle>  
                    <ItemStyle HorizontalAlign="Center" ></ItemStyle>  
                    <ItemTemplate> 
                        <asp:Image ID="ImportantImage" Height="40px" BorderWidth="0px" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "ImagePath") %>' AlternateText="Picture" runat="server" />                                          
                    </ItemTemplate> 
                </telerik:GridTemplateColumn> 
            </Columns> 
        </MasterTableView> 
 
Can anyone tell me how to add this same column in the Page Load event in the code behind file?  I have added data bound columns and hyperlinks (see code below), but don't know how to define the template column programmatically.
            hypercolumn = New GridHyperLinkColumn  
            Me.RadGrid1.Columns.Add(hypercolumn)  
            hypercolumn.HeaderText = "Edit Rec." 
            hypercolumn.Text = "Edit" 
            hypercolumn.DataNavigateUrlFields = New String() {"Item"}  
            hypercolumn.DataNavigateUrlFormatString = "~/ItemEdit.aspx?K={0}" 
            hypercolumn.UniqueName = "EditRec" 
            hypercolumn = Nothing 
 
Thanks in advance for any help!

Lynn
Lynn
Top achievements
Rank 2
 answered on 15 Dec 2009
2 answers
141 views
I need some assistance with the .aspx menu control, please and thank you.  I am using the standard menu item tooltips (not the Rad Tooltip control) with dynamically added menu items.  When the menus display, the tooltip text boxes cover the undelying menu items preventing the user from seeing the menu items.  See attached screen capture graphic.

I would imagine there is some method of controlling the placement of the tooltip, but after quite a bit of reading on your site, I haven't been able to find anything that describes this.  I'm probably just stupid, but could someone tell me how to move the menu items tooltip display?

Thanks very much in advance!

Lynn
Lynn
Top achievements
Rank 2
 answered on 15 Dec 2009
7 answers
240 views
I'm trying to create "several tabled at a level" using a NestedViewTemplate; this is a permissions scenario where a User Entity has permissions to several other entity types, accounts, pages, views, etc.

The problem I'm having is that I want to have a command item template for each table at a level that will be a grant permissions link for that specific user entity.

This scenario seems problematic in that the ItemCreated event runs before the ItemDataBound event; is there some way around this?

Initially I was using DetailTables for this function but the templated display looks much better than the detail tables model.

Thanks,
Phil
Phil DeVeau
Top achievements
Rank 1
 answered on 15 Dec 2009
1 answer
61 views
We're using a RadEditor in a asp.net site which saves the content with html formating in the database. I need to do some printing operation, so I need the content in RadEditor Rich Text formating aswell. Does RadEditor have som methods for converting its content to Rich Text that I've missed? Or any other way I might solve this problem?

I know I can use a IE Object to parse the html file and print it that way but I wouldn't be able to set printing properties like papersize, pagesize, and printer, which I can do with the PrintDocument class to .NET. PrintDocument class should support printing rich text but not html sadly.

Cheers,
Arne
Rumen
Telerik team
 answered on 15 Dec 2009
2 answers
126 views
Hi all, i have a big problem with radscheduler and XmlSchedulerProvider, the project work fine on local with IIS7, but when upload to host and run, when insert/edit Appointments, the host save the datetime on xml file with the separator "." and cause an error.

Is work fine on local with IIS7 and creates this file OK (<Start>2009-12-11T08:00Z</Start> have a separator time ":")

<?xml version="1.0" encoding="utf-8"?> 
<Appointments> 
  <Appointment> 
    <ID>4</ID> 
    <Subject> fdEclipse</Subject> 
    <Description>dfg</Description> 
    <Start>2009-12-10T00:00Z</Start> 
    <End>2009-12-11T00:00Z</End> 
  </Appointment> 
  <Appointment> 
    <ID>5</ID> 
    <Subject> Barriera Milano </Subject> 
    <Description>Prova</Description> 
    <Start>2009-12-11T08:00Z</Start> 
    <End>2009-12-11T23:00Z</End> 
  </Appointment> 
</Appointments> 

The host when edit an appointments create this file and is wrong (<Start>2009-12-11T08.00Z</Start> have a separator time ".")
<?xml version="1.0" encoding="utf-8"?> 
<Appointments> 
  <Appointment> 
    <ID>4</ID> 
    <Subject> fdEclipse</Subject> 
    <Description>dfg</Description> 
    <Start>2009-12-10T00:00Z</Start> 
    <End>2009-12-11T00:00Z</End> 
  </Appointment> 
  <Appointment> 
    <ID>5</ID> 
    <Subject> Barriera Milano </Subject> 
    <Description>Prova</Description> 
    <Start>2009-12-11T08.00Z</Start> 
    <End>2009-12-11T23.00Z</End> 
  </Appointment> 
</Appointments> 

This is the error reported after the change of an appointment:

Server Error in '/' Application.

String was not recognized as a valid DateTime.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: String was not recognized as a valid DateTime.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[FormatException: String was not recognized as a valid DateTime.]
System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) +2835862
Telerik.Web.UI.XmlSchedulerProvider.GetAppointments(RadScheduler owner) +848
Telerik.Web.UI.RadScheduler.PerformSelect() +175
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
Telerik.Web.UI.RadScheduler.EnsureDataBound() +51
Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +63
Telerik.Web.UI.RadScheduler.CreateChildControls() +10
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

Thanks By Aurelio

Aurelio Righetti
Top achievements
Rank 1
 answered on 15 Dec 2009
3 answers
81 views

Hi,
Working on a functionality to convert HTML content to PDF.
Stuck with the following point :
1. Can the radEditor control control be used with a Windows Service.
2. Can we set the Header and the footer for the resultant PDF.
3. Facing problem with exporting of the HTML table tag.

Thanks in advance. Need this urgently.

Rumen
Telerik team
 answered on 15 Dec 2009
3 answers
297 views
Hi,
i try radgrid custom header text. My code like this in Radgrid ItemCreated

Dim HeaderItem As GridHeaderItem = CType(e.Item, GridHeaderItem)
Dim Button As LinkButton = CType(HeaderItem("ListOrder").Controls(0), LinkButton)
Button.Text = "Custom Header"

It is ok first use. But after sorting or change page then custom header get default values, not my custom header text. I use also RadGrid PreRender for default filter.

I try to use custom header in Rad Grid Prerender like this;

GvwItems.Columns.FindByUniqueName("ListOrder").HeaderText = "Custom Header"

But I also user hierarchy table, so in prerender, my hierarchy tables columns header do not change like this. Ony master table column header change using methoıd in prerender.

Mehmet Tirgil
Top achievements
Rank 1
 answered on 15 Dec 2009
5 answers
305 views
hi

i want to know if i can add my htmlHiddenInput value as the radwindow content?

for example

i have this control

<input type="hidden" id="lblHelpPagina" runat="server" value="test"/> 


this value i want is to show in radwindow
when i click a button which fire the radopen event.

this control is find in the main page..

thanks a lot

i need asnwer asap..

regards
webster
Webster Velasco
Top achievements
Rank 2
 answered on 15 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?