Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
110 views
I get an error from the web config that it cannot load
telerik.web.ui.raduploadhttpmodule.   when I comment the httphandler line out then it complains about the next reference to telerik.web.ui control.  The new .dlls for q3 are in the bin folder - I double checked.  It does not seem to load until I put the telerik.web.ui .dll in the GAC.  What is the explanation for this?  Somewhere the application gets the idea that it must be in the GAC and only in the GAC.  I thought it would probe until it found it in the bin folder.   WIll it mess anyone up if I put it in the GAC?  I may add that other web applications on the server  have a reference to telerik.web.ui and these references are not the full 4 part  reference. just the assemby and namespace.
Thanks 
Atanas Korchev
Telerik team
 answered on 10 Jan 2009
3 answers
100 views
Hello,

I don't see a FormHiding event of course, but is there an equivalent?  Is there a way to know when the edit/insert form is being closed, instead of tapping into three or four events?  Or, better yet, is there a property that says that the form is visible or not visible?

Thanks.
Peter
Telerik team
 answered on 10 Jan 2009
3 answers
290 views
I created my application primarially from the Telrik site from a Load on Demand TabStrip sample. I simply would like to incorporate this logic as part of my appliction, but have found an error. The logic works fine when you first click on the tab, but when you re-click a tab you get an error message "Multiple Controls with the same id 'xxxxxx' were found. FindControl requires that the control have unique IDs". In reviewing the trace, I see that the "OnPageViewCreated" control is called when first clicked and then called again as it goes through the logic. Anyone have any thoughts on what is wrong here?
Thank you

********************

 

 

 

Paul
Telerik team
 answered on 10 Jan 2009
1 answer
175 views
Hi,

I'm not sure if thisis an issue or something I am doing wrong (on past experience, almost certainly the latter).

I have a RadScheduler which is populated manually.  The definition is:

<telerik:RadScheduler ID="RadScheduler1" runat="server" CustomAttributeNames="Notes,ProjectID,OutOfOffice,Leave,Flexitime,StaffRef" 
            DataEndField="End" DataKeyField="ID" DataStartField="Start" DataSubjectField="Subject" 
            DayHeaderDateFormat="dddd dd MMMM yyyy"   
            EnableCustomAttributeEditing="True" 
            MonthVisibleAppointmentsPerDay="6" OnClientAppointmentEditing="AppointmentEditing" 
            OnClientAppointmentInserting="AppointmentInserting" StartEditingInAdvancedForm="False" 
            Style="top: 0px; left: 0px" ValidationGroup="RadScheduler1" Height="100%"   
            Width="100%" WeekHeaderDateFormat="dd/MM/yy" HoursPanelTimeFormat="htt">  
            <TimelineView GroupBy="Resource" GroupingDirection="Vertical" /> 
            <AppointmentTemplate> 
                <div style="text-align: center; background-color: #ECECC6; font-weight: bold">  
                    <%# Eval("Subject") %> 
                </div> 
                <%#Eval("Notes")%></AppointmentTemplate>  
            <MonthView VisibleAppointmentsPerDay="6" /> 
            <WeekView HeaderDateFormat="dd/MM/yy" /> 
            <Localization ConfirmDeleteText="Are you sure you want to delete this entry" ConfirmDeleteTitle="" /> 
            <DayView HeaderDateFormat="dddd dd MMMM yyyy" /> 
            <ResourceTypes> 
                <telerik:ResourceType DataSourceID="dsResources" ForeignKeyField="StaffID"   
                    KeyField="StaffID" Name="Resource" TextField="StaffReference" /> 
            </ResourceTypes> 
        </telerik:RadScheduler> 

I also have an Object data source for the Resources:

<asp:ObjectDataSource ID="dsResources" runat="server"   
        SelectMethod="ListStaffByGroupAndTeam" TypeName="dbStaff">  
        <SelectParameters> 
            <asp:Parameter DefaultValue="" Name="Group2" Type="String" /> 
            <asp:ControlParameter ControlID="lblTeam" DefaultValue="" Name="Team"   
                PropertyName="Text" Type="String" /> 
        </SelectParameters> 
    </asp:ObjectDataSource> 

I then populate the Scheduler using the following code:

Dim dateFrom As DateTime = RadScheduler1.VisibleRangeStart  
        Dim dateTo As DateTime = RadScheduler1.VisibleRangeEnd  
        Dim ev As New dbEvent  
        Dim dt As New DataTable  
        dsResources.DataBind()  
        dt = ev.ReadEvents(dateFrom, dateTo, lblTeam.Text, 0, True, True)  
        RadScheduler1.DataKeyField = "ID" 
        RadScheduler1.DataStartField = "Start" 
        RadScheduler1.DataEndField = "End" 
        RadScheduler1.DataSubjectField = "Subject" 
        RadScheduler1.Attributes("Notes") = "Notes"  
        RadScheduler1.Attributes("ProjectID") = "ProjectID"  
        RadScheduler1.Attributes("OutOfOffice") = "OutOfOffice"  
        RadScheduler1.Attributes("Leave") = "Leave"  
        RadScheduler1.Attributes("Flexitime") = "Flexitime"  
        RadScheduler1.Attributes("StaffRef") = "StaffRef"  
        RadScheduler1.DataSource = dt 
        RadScheduler1.DataBind() 

If I remove all references to the Resources, then the Scheduler shows all of the Events exactly as expected.  But when I add the Resources section the Scheduler does not show anything at all, and certainly does not show the expected Resource Grouping.

Is my code correct or is there something wrong with my approach?

David Penny
Peter
Telerik team
 answered on 10 Jan 2009
1 answer
145 views
The problem in my rad grid is that, i have given item-Style-Wrap property as false i.e. i dont want wrapping of cell data in my grid, but still column is wrapping itself, the code is given below:-

 

<

telerik:RadGrid ID="rdgSuppliers" AllowMultiRowSelection="false" runat="server"

 

 

 

 

 

Skin="Outlook" Width="100%" PageSize="10" BorderStyle="None" AllowPaging="True"

 

 

 

 

 

AutoGenerateColumns="true" ItemStyle-Wrap="false" GridLines="None" OnItemCreated="rdgSuppliers_ItemCreated"

 

 

 

 

 

OnItemCommand="rdgSuppliers_ItemCommand">

 

 

 

 

 

<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="true">

 

 

 

 

 

<ClientEvents OnRowDblClick="OpenSupplier" />

 

 

 

 

 

<Resizing AllowRowResize="False" EnableRealTimeResize="True" ResizeGridOnColumnResize="true"

 

 

 

 

 

AllowColumnResize="True"></Resizing>

 

 

 

 

 

<Scrolling AllowScroll="true" UseStaticHeaders="True" />

 

 

 

 

 

<Selecting AllowRowSelect="True" />

 

 

 

 

 

</ClientSettings>

 

 

 

 

 

<MasterTableView CommandItemDisplay="None" TableLayout="Fixed" ClientDataKeyNames="ID"

 

 

 

 

 

ItemStyle-Wrap="false" AutoGenerateColumns="true" DataKeyNames="ID" Width="100%">

 

 

 

 

 

<PagerStyle Wrap="false" Mode="NextPrevAndNumeric" PrevPageImageUrl="Images/arrowLeft.gif"

 

 

 

 

 

NextPageImageUrl="Images/arrowRight.gif" NextPageText="Next" PrevPageText="Prev"

 

 

 

 

 

AlwaysVisible="true" />

 

 

 

 

 

<Columns>

 

 

 

 

 

</Columns>

 

 

 

 

 

</MasterTableView>

 

 

 

 

 

</telerik:RadGrid>

 

Daniel
Telerik team
 answered on 10 Jan 2009
1 answer
161 views
Hi, Basically i am looking for an advance version of the hyperlink manager. The requirement is to set the path to the folder where the files are stored and allow the user to select these files and insert them into the editor as hyperlinks. Basically, what the image manager does just inserting the selection as links.

Is there any editor available that does that?
Rumen
Telerik team
 answered on 10 Jan 2009
4 answers
223 views
How can i hide the vertical scrollbar from the scheduler?
Adeel
Top achievements
Rank 1
 answered on 10 Jan 2009
5 answers
221 views
Hi I have a rad tooolbar with a bunch of buttons but I want each button to update a different control.

Is this possible?

Marty
Dimo
Telerik team
 answered on 10 Jan 2009
1 answer
125 views
I've been using the radWindow.argument to handle some of the communication between my pages and I've noticed when the same page is displayed multiple times, the argument is never reset. I thought using the DestroyOnClose property would work, but this caused the page to not display after it's first time shown. Is there a best practice for this or do I just need to wipe it out in my javascript onclose methods?
Georgi Tunev
Telerik team
 answered on 10 Jan 2009
2 answers
202 views
Hi,

This is my first use of the Prometheous Editor, and in my first use I have found that when I post my content, the editor adds background colour styles to everything.

My editor tag is:

<telerik:RadEditor ID="radEditor" runat="server"  
                    Width="100%"  
                    Height="350"  
                    AutoResizeHeight="true"  
                    AllowScripts="false"  
                    EditModes="All"  
                    OnClientLoad="radEditor_OnClientLoad" 
                    EnableAjaxSkinRendering="true" 
                    EnableEmbeddedBaseStylesheet="true" 
                     EnableResize="false" 
                     NewLineBr="false" 
                     Skin="Default" 
                     StripFormattingOptions="Font" 
                     ToolbarMode="ShowOnFocus" 
                       
                    > 
                     
                     
                     
                </telerik:RadEditor> 

I've even tried using the background-color style of the skin (which funnily enough is #eee) using JS:

function radEditor_OnClientLoad(editor, args) 
  var style = editor.get_contentArea().style; 
  style.backgroundColor = "#fff"

(Either way it still looks better as I can override the skin settings)

Everytime, my content comes out like:

<p><span style="background-color: #eeeeee">Blah blah blah </span></p
<p><span style="background-color: #eeeeee">Blah blah blah</span></p
<p><span style="background-color: #eeeeee"></span></p
 
 

I have tried manually setting the background colour using the toolbar control, which changes but then changes back to #eee. I have tried emptying the textbox and pasting in "clean" XHTML, but the spans are added after posting anyway. Ideally I should have NO background colour styles, as I have visual styles where the content is presented to respect.

Nathan J Pledger
Top achievements
Rank 2
 answered on 10 Jan 2009
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?