Telerik Forums
UI for ASP.NET AJAX Forum
26 answers
3.3K+ views
How do you set the selected tab (Parent and Child) from code-behind?  The following does not work:

Intellisense tells me that selected gets or sets the property.

RadTabStrip1.Tabs.FindTabByText("File").Selected = True

RadTabStrip1.Tabs.FindTabByText("Edit").Selected =

True

For some reason it is not finding the sub tab "Edit" of the parent "File".

 

Eyup
Telerik team
 answered on 02 Jul 2018
1 answer
414 views
Is there a way to hide the text in a radGrid's cell so that it when it initially renders it is displayed as ********* and then when click on the cell to display it as plain text (without postback)?
Eyup
Telerik team
 answered on 02 Jul 2018
3 answers
155 views

Hi..

I added my custom theme. But it does not skin the Radmenu or any of the controls on a page. Page contains master page.

Any ideas what is wrong?  I have the following in the Master

    <link href="~/Skins/Flom/Window.Flom.css" rel="stylesheet" /> 

 

See attachment

thx again!

Jonathan
Top achievements
Rank 1
Iron
Veteran
 answered on 29 Jun 2018
1 answer
354 views

I have a vertical tabstrip and it doesn't resize the height. How do I get it to resize and not used a fixed height with unnecessary whitespace at the bottom?

 

<telerik:RadTabStrip ID="TabStrip" runat="server" MultiPageID="Tabs" Orientation="VerticalLeft">
    <Tabs>
        <telerik:RadTab Text="Tab1" PageViewID="Tab1"></telerik:RadTab>
        <telerik:RadTab Text="Tab2" PageViewID="Tab2"></telerik:RadTab>
    </Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="Tabs" runat="server" SelectedIndex="0" BorderColor="Red" BorderStyle="Solid" BorderWidth="1px" CssClass="RadTabStripVertical">
    <telerik:RadPageView ID="Tab1" runat="server">
    aaaa
    <br /><br />
    bbbb
    <br /><br />
    cccc
    <br /><br />
    dddd
    <br /><br />
    eeee
    </telerik:RadPageView>
    <telerik:RadPageView ID="Tab2" runat="server">
    ffff
    <br /><br />
    gggg
    <br /><br />
    hhhh
    <br /><br />
    iiii
    <br /><br />
    jjjj
    </telerik:RadPageView>
</telerik:RadMultiPage>

Eyup
Telerik team
 answered on 29 Jun 2018
13 answers
131 views

Hi..

I tried the theme builder - it seems to work. My theme was created. But my RadWindow contains an odd vertical black line.  Any ideas?

See the attachment.

thx

Jonathan
Top achievements
Rank 1
Iron
Veteran
 answered on 28 Jun 2018
2 answers
98 views

Hi..

I created a new skin using the builder, just select WebBlue and changed the color to Green. When I apply the skin I get window with no border and no color.

Here's what the SkinBuilder generated. Any ideas?

 

thx

 

.RadWindow_Flom1{font-family:"Segoe UI",Arial,Helvetica,sans-serif;font-size:12px}.RadWindow_Flom1 .rwTopLeft,.RadWindow_Flom1 .rwTopRight,.RadWindow_Flom1 .rwTitlebar,.RadWindow_Flom1 .rwFooterLeft,.RadWindow_Flom1 .rwFooterRight,.RadWindow_Flom1 .rwFooterCenter,.RadWindow_Flom1 .rwTopResize,.RadWindow_Flom1 .rwStatusbar div,.RadWindow_Flom1 .rwStatusbar,.RadWindow_Flom1 .rwPopupButton,.RadWindow_Flom1 .rwPopupButton span,.RadWindow_Flom1.rwMinimizedWindow .rwCorner{background-image:url('Window/WindowHorizontalSprites.gif')}.RadWindow_Flom1 .rwBodyLeft,.RadWindow_Flom1 .rwBodyRight,.RadWindow_Flom1 .rwStatusbarRow .rwCorner{background-image:url('Window/WindowVerticalSprites.gif')}.RadWindow_Flom1 .rwShadow .rwTopLeft,.RadWindow_Flom1 .rwShadow .rwTopRight,.RadWindow_Flom1 .rwShadow .rwTitlebar,.RadWindow_Flom1 .rwShadow .rwFooterLeft,.RadWindow_Flom1 .rwShadow .rwFooterRight,.RadWindow_Flom1 .rwShadow .rwFooterCenter,.RadWindow_Flom1 .rwShadow .rwTopResize,.RadWindow_Flom1 .rwShadow .rwStatusbar div,.RadWindow_Flom1 .rwShadow .rwStatusbar,.RadWindow_Flom1 .rwShadow .rwPopupButton,.RadWindow_Flom1 .rwShadow .rwPopupButton span,.RadWindow_Flom1 .rwShadow .rwBodyLeft,.RadWindow_Flom1 .rwShadow .rwBodyRight,.RadWindow_Flom1 .rwShadow .rwStatusbarRow .rwBodyLeft,.RadWindow_Flom1 .rwShadow .rwStatusbarRow .rwBodyRight{background-image:url('Window/WindowHorizontalSprites.png')}.RadWindow_Flom1 .rwShadow .rwBodyLeft,.RadWindow_Flom1 .rwShadow .rwBodyRight,.RadWindow_Flom1 .rwShadow .rwStatusbarRow .rwBodyLeft,.RadWindow_Flom1 .rwShadow .rwStatusbarRow .rwBodyRight{background-image:url('Window/WindowVerticalSprites.png')}.RadWindow_Flom1 .rwStatusbar input{background-color:#f7ffe9}.RadWindow_Flom1 .rwControlButtons a{background-image:url('Window/CommandButtonSprites.gif')}.RadWindow_Flom1 a.rwIcon{background-image:url('Window/WindowHorizontalSprites.gif')}.RadWindow_Flom1 table.rwTitlebarControls em{color:#ffffff}.RadWindow_Flom1 input.rwDialogInput{border:1px solid #76a5a5}.RadWindow_Flom1 input.rwDialogInput:hover{border:1px solid #5db8b7}.RadWindow_Flom1 tr td.rwWindowContent{background-color:#ffffff}.RadWindow_Flom1 table tr td.rwLoading{background-color:#e6ffee}.RadWindow_Flom1 td.rwWindowContent.rwLoading,.RadWindow_Flom1 .rwIframeWrapperIOS.rwLoading{background-image:url('Common/loading.gif')}.RadWindow_Flom1 td input.rwLoading{background-image:url('Common/loading_small.gif')}.RadWindow_Flom1 .rwShadow .rwControlButtons{margin:5px -2px 0 0}.RadWindow_Flom1 .rwShadow .rwControlButtons{margin:5px -1px 0 0 \9}.RadWindow_Flom1.rwMinimizedWindowShadow .rwShadow .rwControlButtons{margin:9px -8px 0 0}.RadWindow_Flom1 .rwShadow .rwControlButtons li{float:left;padding:0}.RadWindow_Flom1 .rwShadow .rwControlButtons a{width:30px}.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwTopLeft,.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwTopRight,.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwTitlebar,.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwFooterLeft,.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwFooterRight,.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwFooterCenter,.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwTopResize,.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwStatusbar div,.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwStatusbar,.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwPopupButton,.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwPopupButton span,.RadWindow_Flom1.rwInactiveWindow .rwShadow.rwMinimizedWindow .rwCorner,.RadWindow_Flom1.rwNoTitleBar.rwInactiveWindow .rwShadow .rwTopLeft,.RadWindow_Flom1.rwNoTitleBar.rwInactiveWindow .rwShadow .rwTitlebar,.RadWindow_Flom1.rwNoTitleBar.rwInactiveWindow .rwShadow .rwTopRight,.RadWindow_Flom1.rwNoTitleBar.rwInactiveWindow .rwShadow .rwFooterLeft,.RadWindow_Flom1.rwNoTitleBar.rwInactiveWindow .rwShadow .rwFooterCenter,.RadWindow_Flom1.rwNoTitleBar.rwInactiveWindow .rwShadow .rwFooterRight{background-image:url('Window/WindowHorizontalSprites.gif')!important}.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwBodyLeft,.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwBodyRight,.RadWindow_Flom1.rwInactiveWindow .rwShadow .rwStatusbarRow .rwCorner,.RadWindow_Flom1.rwNoTitleBar.rwInactiveWindow .rwShadow .rwBodyLeft,.RadWindow_Flom1.rwNoTitleBar.rwInactiveWindow .rwShadow .rwBodyRight{background-image:url('Window/WindowVerticalSprites.gif')!important}

Jonathan
Top achievements
Rank 1
Iron
Veteran
 answered on 28 Jun 2018
1 answer
184 views

Hi 
i add File Explorer in my .ascx page .it works fine in my local server but when i upload it in to Server Id dose not work. when i click on tree list item it give me error "post : www.myweb.com" not find 500 internal error .

--------------------------------
 <telerik:RadFileExplorer  Skin="Metro" RenderMode="Lightweight" runat="server" ID="FileExplorer1" Width="100%" Height="500px" Configuration-EnableAsyncUpload="false" EnableAsyncUpload="false"
                OnClientItemSelected="OnClientItemSelected" OnClientDelete="OnClientDelete" TreePaneWidth="250px"  OnClientLoad="RadFileExplorer_OnClientLoad" >
               
              
                
            </telerik:RadFileExplorer>
        </div>
                      <div class="ImgPreviewArea">
                <h2>Preview</h2>
                <img id="pvwImage" src="Images/Northwind/Flowers/Flower1.jpg" alt="Flower1.jpg" />
        </div>
                     </div>
------------------------------------------------

 protected void Page_Load(object sender, EventArgs e)
        {
          
            System.Web.UI.ScriptManager.GetCurrent(this.Page).RegisterPostBackControl(FileExplorer1);
          
                    var edata = new ExportData();
            Facade facade = new Facade(AppContext.GetContext(Context));
            string path = "";
            if (Session["OrganizationEditId"] != null)
            {
                if (IsPostBack == false)
                {
                    var org = facade.GetOrganizationById(Convert.ToInt32("0" + Session["OrganizationEditId"]));
                    {
                        path = org.ItemDirectoryPath != null ? org.ItemDirectoryPath : "";
                    }


                   
                    FileExplorer1.Configuration.SearchPatterns = new string[] { "*.jpg", "*.jpeg", "*.gif", "*.png" };
                    FileExplorer1.Grid.ClientSettings.AllowColumnsReorder = false;
                    FileExplorer1.Grid.ClientSettings.AllowRowsDragDrop = false;
                    FileExplorer1.TreeView.OnClientNodeClicking = "OnClientNodeChange";
                    eExplorer1.EnableCreateNewFolder = enableCreateNewFolder.Checked;

                    if ((FileExplorer1.VisibleControls & Telerik.Web.UI.FileExplorer.FileExplorerControls.Grid) == 0) FileExplorer1.ExplorerMode = Telerik.Web.UI.FileExplorer.FileExplorerMode.Thumbnails;
                    if ((FileExplorer1.VisibleControls & Telerik.Web.UI.FileExplorer.FileExplorerControls.ListView) == 0) FileExplorer1.ExplorerMode = Telerik.Web.UI.FileExplorer.FileExplorerMode.Default;

                    
                    FileExplorer1.Configuration.ContentProviderTypeName = typeof(DBContentProvider).AssemblyQualifiedName;
                    if (path != "")
                    {
                        FileExplorer1.Configuration.UploadPaths = new string[] { path };
                        FileExplorer1.Configuration.ViewPaths = new string[] { path };
                        FileExplorer1.Configuration.DeletePaths = new string[] { path };

                        FileExplorer1.Configuration.EnableAsyncUpload = false;
                    }


                }
            }
            else
            {
                RedirectUrl("~/Widgets/SetupOptions/Organizations.ascx");

                Session.Remove("OrganizationEditId");
            }
        }

any one please help me 
thank you

casa51
Top achievements
Rank 2
 answered on 28 Jun 2018
11 answers
642 views
I am trying to create dynamic notifications based on the database content. As a simplified version of what i have, for the following database table : 

ID        Notification         NotificationText              NotificationTimeInterval
1          FillLog                   Fill the time log                   9000
2          CheckMesg          Check the message            500
3          Print                       Print report                         3000


Each notifications need to appear based on this table at the specified NotificationTimeInterval and the notifications should be created programatically since the number of records in the table itself is varying.  Can someone point me to the right direction or with a sample project on how to accomplish this?

Thanks,
Meera
Marin Bratanov
Telerik team
 answered on 28 Jun 2018
5 answers
178 views
Dear All,
RadCalendar popup is not hiding on tab inside the telerik Grid. 

Thanks,
vinoth
Pradeep
Top achievements
Rank 1
 answered on 28 Jun 2018
20 answers
1.9K+ views
Usually it works fine When I used the batch edit mode in the radgird.
Occasionally,it can't work , you can see the errors in pictures below.
It shows that the count of command items in the e.Commands is zero and ,in the grid, the updated cell marked a red small triangle on the top right.
I can't figure out why there is no item in the e.Commands.
Thanks in advance.
Eyup
Telerik team
 answered on 28 Jun 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?