Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
82 views
HI !!! explain my problem...
I've one page with many Grid nasted like this example:
example
I'm searching a way to change the style of inner Grid only.
I've a global skin-them applicated to all my application; i try to overwrite RadGrid css class but,obviously, it change style to all Grid of the page.
Please help me, thanks !!!
 
Emanuele
Top achievements
Rank 1
 answered on 25 Nov 2011
6 answers
162 views
Hello, I have a problem with the style of radcombobox when located within a radsplitter.

I attached a picture to understand me.

Thanks for all.
Dobromir
Telerik team
 answered on 25 Nov 2011
1 answer
36 views
Hello,

    I have a RadGrid in my application. Whenever I click Clear Changes which is not associated with radGrid and if a row in the RadGrid is in inplace edit mode, the values should not be effected  i.e, the values should remain same. Find below for the code.

protected void btnClearChanges_Click(object sender, EventArgs e)
        {

            _presenter.LoadDefaultValues();
            
            rgvInternetIdentifiers.Rebind();

            btnContinue.Enabled = true;
           
        }

The above code is loading default values and inplace edit row is changing to default values. Can any one please put some insight?

Thanks,

Sandeep
Tsvetina
Telerik team
 answered on 25 Nov 2011
1 answer
104 views
Hi,

We are using Telerik Rad editor(6.5.2) in one of our projects. We experience the issue with Image Map Editor. When the picture is big, the scroll bars appear. But if you scroll the picture and start to "drag" an image map with your mouse, then it pops back to the starting point.
As we can see this issue is fixed in newer version of RAD Editor. But the upgrade is not suitable for us.

Is there a way to fix this issue without upgrading?
Rumen
Telerik team
 answered on 25 Nov 2011
3 answers
109 views
I use TreeList with OnItemCommand handler. In behind code I assign my UserControl  with TreeListEdit and insert as childItem.
e.Item.OwnerTreeList.EditFormSettings.UserControlPath = " MyControl.ascx ";
  
e.Item.OwnerTreeList.InsertChildItem((TreeListDataItem)e.Item, newFilterResult);

  In MyControl a have Button with Command = "InitInsert". Well, when I click on button, it dont't fire OnCommand handler. Please, help me to solve this problem.
Maria Ilieva
Telerik team
 answered on 25 Nov 2011
4 answers
346 views
I am new to the Telerik controls but I have been testing them out for a couple of weeks on a proof of concept project. I am really liking the flexibility and power of this control set. But there is a bit of a learning curve.
I'm hving an issue with canceling the sort event on the grid. I basically want to trap the sort command and stop the postback but have the header images reflect the sort direction and grap the sort expression. I am doing this all client side so I will call a web service to get the data and rebind. I found an example on how to cancel a command but for some reason the postback is still happening. I am using the demo version of the Ajax/UI control version 2009.02.0701.35. Bellow is my code.

The Grid
    <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True" GridLines="None" 
        Skin="Forest" AutoGenerateColumns="False" GroupingEnabled="False" ShowStatusBar="True" 
        Width="100%" Height="300px" EnableViewState="False">  
        <MasterTableView ClientDataKeyNames="bl_id,fl_id,rm_id" TableLayout="Fixed" EnableViewState="False" 
            AllowNaturalSort="True" AllowFilteringByColumn="false">  
            <RowIndicatorColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </ExpandCollapseColumn> 
            <Columns> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="bl_id" AllowSorting="false" 
                    HeaderText="Building" ReadOnly="True" ShowFilterIcon="False" UniqueName="bl_id">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="fl_id" AllowSorting="false" 
                    HeaderText="Floor" ReadOnly="True" ShowFilterIcon="False" UniqueName="fl_id">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="rm_id" SortExpression="rm_id" 
                    HeaderText="Room" ReadOnly="True" ShowFilterIcon="False" UniqueName="rm_id">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="name" SortExpression="name" 
                    HeaderText="Name" ReadOnly="True" ShowFilterIcon="False" UniqueName="name">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="use" SortExpression="rm_use" 
                    HeaderText="Use" ReadOnly="True" ShowFilterIcon="False" UniqueName="use">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="rmtype" SortExpression="rmtype" 
                    HeaderText="Type" ReadOnly="True" ShowFilterIcon="False" UniqueName="rmtype">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="capacity" SortExpression="capacity" 
                    HeaderText="Capacity" ReadOnly="True" ShowFilterIcon="False" UniqueName="capacity">  
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn AllowFiltering="False" DataField="area" SortExpression="rm.area" 
                    HeaderText="Area" ReadOnly="True" ShowFilterIcon="False" UniqueName="area">  
                </telerik:GridBoundColumn> 
            </Columns> 
        </MasterTableView> 
        <ClientSettings> 
            <DataBinding CountPropertyName="" MaximumRowsParameterName=""   
                StartRowIndexParameterName="" SelectMethod="GetRoomList"   
                Location="services/SjeccdSpaceWebService.asmx" FilterParameterName="filter"   
                FilterParameterType="Linq" SortParameterName="sort" SortParameterType="Linq">  
            </DataBinding> 
            <Selecting EnableDragToSelectRows="False" AllowRowSelect="True" /> 
            <ClientEvents OnCommand="CheckStuff" /> 
            <Scrolling AllowScroll="True" UseStaticHeaders="True" EnableVirtualScrollPaging="false" /> 
        </ClientSettings> 
    </telerik:RadGrid> 

The script
<script id="sample" language="javascript" type="text/javascript">  
    function CheckStuff(sender, args) {  
         //cancel the default command to prevent postback/ajax request  
        //var sortExpressions = sender.get_masterTableView().get_sortExpressions();  
        if (args.get_commandName() == 'Sort'){  
            args.set_cancel(true);  
            //get data and update grid;  
 
        } 
        alert(args.get_cancel()); //+ sortExpressions.toString());  
    }  
 
 
</script> 

After I click the column header the sort command is trapped. I get a message box wiith 'true' and I select OK. Then the grid updates with the new sort. Does this have something to do with the data binding section of the grid control? I have about 8 hours into this and I have tried a number of diffent options. I am just stuck. Any help or best practices would be appreciated.

Thanks,
Craig
Veli
Telerik team
 answered on 25 Nov 2011
1 answer
72 views
I have just installed the latest demo of telerik rad controls and configured my project using right click configure telerik products and the ajax functionality of all controls does not work they appear and render fine but do not for example the datepicker does not drop down and none of the editor buttons fuction I have included a paste bin of my web.config to see what is wrong and also include an example of how I am implmenting 



web.config
http://pastebin.com/QBgBz4Hs






this is an example of my implementation


http://pastebin.com/pjarxYyR
Rumen
Telerik team
 answered on 25 Nov 2011
1 answer
47 views
I downloaded the trail of rad controls and they are not rendering they are being displayed as bullet points. and ajax funcionallity is not working so i re created the full project and a sperate aspx file and still the same issue
Iana Tsolova
Telerik team
 answered on 25 Nov 2011
1 answer
94 views
Hi,

I have a radeditor control inside a div with style="display:none"  (because i use a jquery dialog  plugin - jQuery UI 1.8.9 - to render that div in a popup) and when i show the div, the control not allow the text insert.

This behavior does not always occur, but when occurs the console of firebug shows the following error:

_b2 is null
    addExternalHandler()Script...e6098e2 (line 697)
           _b2 = null
          _b3 = "keydown"
          _b4 = function()
          _registerGlobalBodyEventHandlers()Script...e6098e2 (line 3487)
          _PopupController()Script...e6098e2 (line 3456)
          createEditorPopupController()Script...e6098e2 (line 3547)
[Break On This Error] if(_b2.addEventListener){

Other informations:
- Controls version: Telerik.Web.UI, Version=2009.1.527.20
- The radeditor is inside a user control in a sharepoint 2010 page layout
Rumen
Telerik team
 answered on 25 Nov 2011
1 answer
83 views
Hello,

I was working with the Q2 version of AJAX and every thing was fine.

And yesterday I have updated my version to the Q3. And one page of my website doesn't work anymore... I have a message saying:

Can't find the column [MyDevis.Montant].

So I came back to the Q2 version, and every thing work perfectly.


Do you have any ideas?


Thank You

Jean-Yves
Radoslav
Telerik team
 answered on 25 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?