Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
202 views
I have a site which are used in both classic and integrated both mode and its working fine in both the mode. I have created a web.config file which is working fine in both the mode. I have only got the problem with telerik rad editor.

Telerik Rad editor for asp.net ajax requires a http handler configuration in web.config. So i have given the httphandler in both way
so i can used in classic as well as integrated mode like following.

For classic mode:

I have given followin in http handler section of web.cofig:

<

 

add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>

 


For integrated mode i have given following 

<add path="Telerik.Web.UI.WebResource.aspx" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />

But the problem is that its working fine with integrated mode in IIS 7.0 but Its not working with IIS 7.0 classic mode.

I want that my web.config should work in both mode of IIS I don't want to change every time.

For IIS 7.0 classic mode i am getting following error:

Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file

Can anybody help me out for this?

Rumen
Telerik team
 answered on 10 Sep 2009
4 answers
73 views
Hi,

I am using RadWindowManger and displaying a Modal Popup. I am trying to customize the look and feel onMouseDrag using the client side event OnClientDragStart. I click on the titlebar to move the window, and the control never returns back i am not able to click on any other part of the browser. This is the code i have added

<

 

telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableEmbeddedSkins="true" OnClientPageLoad="OnClientPageLoad" VisibleStatusbar="false" OnClientClose="OnClientClose" IconUrl="favicon.ico" OnClientDragStart="OnClientDragStart" OnClientDragEnd="OnClientDragEnd">

 

 

 

</telerik:RadWindowManager>
 Please let me know if i am doing any thing wrong here. In the client side events i just have an alert statement.

Thanks,
Divya

 

Georgi Tunev
Telerik team
 answered on 10 Sep 2009
7 answers
257 views
Hi,

I want the pagination to be customized in such a way that the Page size in NextPrevNumericAndAdvanced except for the following things.
I don't need the controls in the second row. Instead I want a Dropdown to select the page size. I accomplished that by adding the control along with the Pager in NextPrevMumeric mode. The issue I am facing it is that the control I wrote for this purpose does not come to the second row. It remains before the PagerText. Please find the code below:

        protected void rgUserList_OnItemEvent(object sender, GridItemEventArgs e)
        {
            if (e.EventInfo is GridInitializePagerItem)
            {
                GridInitializePagerItem info = e.EventInfo as GridInitializePagerItem;
                (e.Item as GridPagerItem).PagerContentCell.Controls.Add(
                     new CustomRADGridPager(info.PagingManager, e.Item.OwnerTableView)
                     );
            }
        }
CustomRADGridPager is the class which has the dropdown control and the required events. Your suggestions are highly appreciated.
Anil Sahu
Top achievements
Rank 1
 answered on 10 Sep 2009
6 answers
367 views
hello to all,

                i would like to  ask from  you who are expert in telerik control, coz i wanted to use a radwindow control, anyway here's my question.. when the user click the show grid button, another window will popup with a grid inside plus the values of every column load from the database. how can i do that.

sample codes is highly appreciated

thanks to all 
rmh
Top achievements
Rank 1
 answered on 10 Sep 2009
1 answer
112 views
Hello,

I have PanelBar with embedded RadToolTipManager. Within that I have a repeater that generate a list of thumbnail images.
The problem that I'm having is when I hover over the first item (far left) of the second+ row the tooltip window display on the far right.
However, when I take the PanelBar out of the equation it works just fine.

               <telerik:RadPanelBar ID="RadPanelBar1" Runat="server" ExpandMode="MultipleExpandedItems" Width="1042px" AllowCollapseAllItems="True">  
                <Items>  
                  
                    <telerik:RadPanelItem Runat="server" Expanded="True" Text="Search Results" Font-Bold="True">  
                        <Items>  
                            <telerik:RadPanelItem Runat="server" Value="RadPanelItem1">  
                            <ItemTemplate>  
                              
                                 <div style="padding: 0px; float: left; width: 1042px">  
                                    
                                     <telerik:RadToolTipManager runat="server" ID="RadToolTipManager1" Width="950px"   
                                         Height="370px" RelativeTo="Element" Animation="Slide" Position="BottomCenter"   
                                         OnAjaxUpdate="OnAjaxUpdate"    
                                         HideEvent="LeaveTargetAndToolTip" AutoCloseDelay="15000" ShowDelay="1000" />  
                                   
                                     <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound" >  
                                     <ItemTemplate>  
                                       
                                        <div style="float: left; text-align: center;" id="smallImage" runat="server">  
                                            <a href="<%# Eval("PrintSize", "../../../Images/Print/{0}") %>">  
                                            <div  style="border: 1px solid #999999; margin: 1px; width: 100px; height: 100px; background-position: center; background-repeat: no-repeat; background-image: url('<%# Eval("Thumbnail", "../../../Images/Thumbs/{0}") %>');">  
                                            </div>  
                                        </div>  
                                     </ItemTemplate>  
                                     </asp:Repeater>  
                                       
                                 </div>  
                                                         
                            </ItemTemplate>                             
                            </telerik:RadPanelItem>  
                            
                       </Items>  
                    
                    </telerik:RadPanelItem>  
                  
                      
                  
                </Items>  
                  
                </telerik:RadPanelBar> 
Paul
Telerik team
 answered on 10 Sep 2009
2 answers
144 views
I've just installed the free RAD Editor for MOSS (version 4.5.6) as a content manager editor. Is there a way to get the editor to display the full width of the window, similar to the MOSS built-in editor? Currently it only opens half the window's width.

Leigh D'Sylva
Top achievements
Rank 1
 answered on 10 Sep 2009
6 answers
190 views
I just loaded the 2009.1 version of the controls and I'm having an issue with the Scheduler event edit form. When the RadFormDecorator is turned on, the checkboxes for All Day and Recurring task are appearing over the text. Also, when I expand Recurrence, the radio buttons are also appearing on top of the text. If I turn off RadFormDecorator, the checkboxes and radio buttons align properly.

I am using the built-in skins (Vista) for both Calendar and RadFormDecorator in FireFox 3.0.7.

Can you take a look at the issue and either suggest a work-around or tell me how I can turn off RadFormDecorator for this page? Thanks.

EDIT:  I just realized that I meant to put this in the RadScheduler forum. Could you move this for me please
Georgi Tunev
Telerik team
 answered on 10 Sep 2009
1 answer
79 views
Hello,

Can i make a Project with Tabstrib and without Multipage ?

I will make the Tabstrip at the Top of my Site like a Menue,
in my Masterpage and Load the Sites on Click...

I will not have Multipage!
When i click in my Masterpage on a Tab i will load another
Site in my Masterpage.. and then the right Tab must be correct Selected....

In my Masterpage i click bsp.. on a Tab like Contact then i load the Contact.aspx in my
Masterpage and then must the Contact Tab marked as Active ....

Can i work like this ????? or must i insert RadMenu

Thanks
Paul
Telerik team
 answered on 10 Sep 2009
3 answers
170 views
Hi,

I am using a RadGrid. There is a griddatetimecolumn TotalTime represting time from sqlserver database. I have to generate a new column in the grid at run time by subtracting time in last column - 2nd last column.
Example:
S.NO.        Total_Time    DrivingTime
                    (HH:MM)         (HH:MM)
1                01:00            01:00
2                01:35            00:35
3                02:00            00:25

Now I have Total_time from DB, and want DrivingTime to be generated at runtime by doing simple calculations on Total_Time column.i.e. Just subtracting current row total_time with previous row total_time (if exist)  e.g. RowNo.3 DrivingTime= (02:00 - 01:35) = (00:25).

I am using C#

Any help will be highly appreciated.

Cheers, Ali
Syed M Ali Shah
Top achievements
Rank 1
 answered on 10 Sep 2009
3 answers
230 views
 

Hi

We are starting to play with the Rad Grid and investigating the Popup settings with a user control for inserts/updates to the grid.  The grid is being created in code during page init.

        With grd  
            .ID = "grdMyGrid" 
            .AutoGenerateColumns = False 
            .AllowMultiRowEdit = False 
            .AllowPaging = True 
            .AllowSorting = True 
 
            .GridLines = GridLines.None  
            .ShowStatusBar = True 
 
            .MasterTableView.PageSize = 10  
            .MasterTableView.AllowMultiColumnSorting = False 
            .MasterTableView.CommandItemDisplay = GridCommandItemDisplay.Top  
            .MasterTableView.DataKeyNames = New String() {"MySerialNo"}  
            .MasterTableView.TableLayout = GridTableLayout.Fixed  
            .MasterTableView.Width = New Unit(100, UnitType.Percentage)  
 
            .MasterTableView.EditFormSettings.UserControlName = "MyUserControl.ascx" 
            .MasterTableView.EditFormSettings.EditFormType = GridEditFormType.WebUserControl  
            .MasterTableView.EditMode = GridEditMode.PopUp  
            .MasterTableView.EditFormSettings.PopUpSettings.Modal = True 
            '.MasterTableView.EditFormSettings.PopUpSettings.Width = New Unit(750, UnitType.Pixel)  
            .MasterTableView.EditFormSettings.CaptionFormatString = "Popup Title" 
 
 
            '... create columns ... 


When the user clicks the edit button to display the edit control, the user control is being displayed as anticipated.  However, because we haven’t declared a width for the popup window, the window borders are being drawn behind the user control at a fixed width of 400px plus 2px of border because the user control is 750px wide.  Obviously I know that we can set the width in code, but I was wondering if there is any way to have the popup auto size its width like it does with the height.

 

 

Thanks in advance.

Paul

Paul Mc
Top achievements
Rank 1
 answered on 10 Sep 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?