Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
148 views
I have a tabstrip with two multipage pageviews. I have a splitter which surrounds the tabstrip and multipage. Each pageview has it's own splitter as well. When I load my page, and the default tab is visible, everything is fine. When I switch tabs (client-side), the second page view's content is not visible. If I resize the container (the window), the content appears. Apparently the splitter is not being displayed properly after the tab switch. This happens regardless of which tab is displayed by default. The other tab always has its content hidden when I switch to it.

All fo my splitters have visibleduringinit=false. If I set this to to true, the splitter and its content shows up, but is sized incorrectly. I have been using visibleduringinit=false for many years. I have heard of some issues with setting visibleduringinit=false in recent control versions, but I thought these issues were fixed in recent builds. I am using the latest internal build  (Q3 2009 1306). I have noticed this issue in both IE and Firefox.

Here's my markup:

<telerik:RadSplitter ID="rsEC"   
                    runat="server"   
                    Height="100%" 
                    Width="100%" 
                    Orientation="Horizontal"   
                    ResizeWithParentPane="False"   
                    ResizeWithBrowserWindow="True" 
                    BorderSize="0" 
                    VisibleDuringInit="False" 
                    HeightOffset="16" 
                    > 
                    <telerik:radpane runat="server" id="aPane" Scrolling="None" Width="100%" Height="100%" CssClass="TabbedPage2" > 
                        <telerik:RadTabStrip ID="tsC"   
                                    runat="server" 
                                    MultiPageID="mpC" 
                                    SelectedIndex="0" 
                                    Skin="Office2007" 
                                    width="100%" 
                                    CausesValidation="False" 
                                   > 
                            <Tabs> 
                                <telerik:RadTab ID="tab2" runat="server" PageViewID="pvPhone" Text="Phones" Value="Phone">  
                                </telerik:RadTab> 
                                <telerik:RadTab ID="tab3" runat="server" PageViewID="pvEmail" Text="Emails" Value="Email">  
                                </telerik:RadTab> 
 
                            </Tabs> 
                        </telerik:RadTabStrip> 
                        <telerik:RadMultiPage ID="mpC"   
                                    runat="server" 
                                     CSSClass="TabbedContent" 
                                     SelectedIndex="0"   
                                     Height="100%">  
 
                            <telerik:RadPageView ID="pvPhone" runat="server" Height="100%">  
                                <div style="padding:7px; height:100%;">  
                                <telerik:RadSplitter ID="rsPL"   
        runat="server"   
        Height="100%" 
        Width="100%" 
        Orientation="Horizontal"   
        ResizeWithParentPane="False"   
        ResizeWithBrowserWindow="True" 
        BorderSize="0" 
        VisibleDuringInit="False" 
        HeightOffset="47" 
    > 
    <telerik:radpane runat="server" id="Radpane1" Scrolling="None" Width="100%" Height="37px">  
        a toolbar   
    </telerik:radpane> 
    <telerik:radpane runat="server" id="bPane" Scrolling="None" Width="100%" Height="100%">  
        Some content    </telerik:radpane> 
</telerik:RadSplitter> 
</div> 
                            </telerik:RadPageView> 
                            <telerik:RadPageView ID="pvEmail" runat="server" Height="100%">  
                                <div style="padding:7px; height:100%;">  
                               <telerik:RadSplitter ID="rsCIEC"   
            runat="server"   
            Height="100%" 
            Width="100%" 
            Orientation="Horizontal"   
            ResizeWithParentPane="False"   
            ResizeWithBrowserWindow="True" 
            BorderSize="0" 
            VisibleDuringInit="False" 
            HeightOffset="37" 
    > 
      
    <telerik:radpane runat="server" id="tbPane" Scrolling="None" Width="100%" Height="37px" 
        another toolbar  
    </telerik:radpane> 
    <telerik:radpane runat="server" id="bPane" Scrolling="None" Width="100%" Height="100%">  
        more content  
    </telerik:radpane> 
</telerik:RadSplitter> 
</div> 
                            </telerik:RadPageView> 
                          </telerik:RadMultiPage> 
                    </telerik:radpane> 
                </telerik:RadSplitter> 
Tsvetie
Telerik team
 answered on 06 Jul 2010
1 answer
159 views
Hello, how can i have colored row if item in database is TRUE. for example: all rows with column 'colorStatus'  == true is red and for false, row is green. I speak about background color of row.

thanks
Princy
Top achievements
Rank 2
 answered on 06 Jul 2010
4 answers
146 views
I installed the light editor and then saw you had to activate it for each sub site.  Then I saw this page http://www.telerik.com/help/radeditormoss/Change_the_RadEditor_features_scope.html

It says you can uninstall, edit some files and reinstall.  Then you activate it at the collection level.  My problem is it still seems to be at the site level.  I only see the features listed under "Site Features".  Enabling them on a parent site does not enable on the child site.

What did I miss?

MOSS 2007
Joss
Top achievements
Rank 1
 answered on 06 Jul 2010
4 answers
299 views

Here is what I want my solution to do:

1) Grid loads unfiltered, shows list of deals with company information for each, one-to-many companies to deals, one row per deal.
2) User clicks "Add new record" button
    a) Filter row is VISIBLE
    b) Insert row is HIDDEN
3) User types in RadComboBox in filter row of company column to select company, tabs-out or hits enter
    a) Filter row is HIDDEN
    b) Insert row is VISIBLE
    c) Grid filters to just those deal records for the company selected
    d) 3 columns of info in Insert row prepopulate with company information
4) User enters info for remaining columns in Insert row, saves record

My solution is almost 100%, except for Step 2.

Your example at:
    http://www.telerik.com/help/aspnet/grid/grdinsertingvaluesusercontrolformtemplate.html
under the section
    "Setting predefined values for controls inside user control on item insertion"
does not work for me as-is because canceling the event does not allow the code to set the IsFilterItemExpanded to true.

Please tell me how I can satisfy step 2 as defined above, HIDING the Insert row and SHOWING the Filter row on InitInsert.

Thanks!

Code samples and screenshots to follow in responses.

Veli
Telerik team
 answered on 06 Jul 2010
2 answers
103 views
I have a simple question - how can I add/edit a single row in the grid with data that has been defined outside of the grid. I don't want to rebind in any way since that will cause a costly database query. I've looked at the set_datasource(json) mechanism, but that requires returning all the row data (and thus a re-query) from the Ajax/Page method call. I just want to add/edit a row with known data. With or without Ajax is fine. Is this possible?

Thanks.

- Mike
Mike
Top achievements
Rank 1
 answered on 06 Jul 2010
2 answers
113 views
I am implementing a tab control using ASP menu and multiview controls. the tab control is placed in AJAX UpdatePanel. All are standard .NET controls. Everything works fine when I test the page using visual studio. But when the page(usercontrol) is housed in Sitefinity. There are many problems. The major problem is the tabs (only tabs not the panel - menu control) disappears when there is a javascript call. I have a password field in the one of multiview panels and it has a OnkeyUp linked to a javascript function. Whenever anything is entered in that password field, the menu disappears. I also observed the tabs disappear when there is validationsummary displayed on validation fail. So i am guessing it has to do with javascript calls. Also this behavior is only observed in IE 6 and 7. It works find in IE 8 and this problem is also absent in FF.
Ivan Dimitrov
Telerik team
 answered on 06 Jul 2010
2 answers
218 views
Hello,
I have problem with hierarchy expansion:
I have a Master Grid with 2 chilidren a the same level, One Children has another child.

In the last child i user template columns and i have a button to post data.

I'm able to refresh all grid from master to last child after postback but the last child is always closed even if the parentItem's expanded property is true.

i tried to expand the child in the pre-render, to use ExpandHierarchyToTop method, to fire the Expand event manually  but it doesn't work.

Any Ideas??  
P.s.
i user LinqDataSource with it's selecting event, and i set the datasource ID programmatically to control when databind fires.

Marco
Top achievements
Rank 1
 answered on 06 Jul 2010
6 answers
203 views

Hi,

When i'm trying to resize any column in my radgrid my pager control is not displayed because the grid height is increased while resizing a column. i have checked below link with options 1. allow column resize and 2. No wrap for cell content.

http://demos.telerik.com/aspnet-ajax/grid/examples/client/resizing/defaultcs.aspx

when i'm resizing a column my filter row  hieght also get increased and due to that pager control is not displayed.
i tried to give fixed height to filter row but it is not working out.

Please suggest some solution so that when i rezise any column in my grid it should not affect the size of the grid.
and my pagercontrol should display properly

thanks
sweta

Dimo
Telerik team
 answered on 06 Jul 2010
1 answer
187 views
When I configure IIS to use the ASP.NET 4.0 AppPool, the RadCaptcha control doesn't function (broken image displays).  It functions file with ASP.NET 4.0 Classic AppPool.  This is a problem because none of my other httphandlers function correctly when using the classic app pool.
Pero
Telerik team
 answered on 06 Jul 2010
3 answers
278 views
Hi,
Ι know that it has been asked many times,but is there a workaround to get the  the temporary file's name(not the filepath,only the filename) ?
I want to check the dimensions of the uploaded image after it has been uploaded.
Unfortunately the upload with full postback is not an option,because in my scenario the're mutliple radAsyncUpload controls in the same page.
Genady Sergeev
Telerik team
 answered on 06 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?