Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
133 views
Hi, I'm not sure how to limit my XAxes in my chart (in my case the X axes are days). The data is linked to a database which updates every day and I need to limit the scope of the data which is being displayed. For example only display the info of  the last 15 days.

How can I achieve that?

Thank you.
Marin Bratanov
Telerik team
 answered on 02 Jul 2018
6 answers
879 views
Dear All,

Please tell me how to show/hide raddatepicker clientside using javascript.


Thanks & regards
Brijendra Pandey
Eyup
Telerik team
 answered on 02 Jul 2018
26 answers
3.4K+ 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
436 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
165 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
365 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
144 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
109 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
191 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
654 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
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?