Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
258 views
I have a menu bound to a database with the RadMenu TargetField bound to a database field so that some items open in _self and some in _blank.

I need to make some of the items that open a new window open a modal window (determined by the database) can this be done?

John
Princy
Top achievements
Rank 2
 answered on 08 Jul 2010
6 answers
245 views
My website is using master pages and for any custom skins that I am using, I am including the skins in the App_Themes folder,  and setting the Theme page attribute to my custom theme name.  This works great for content pages, however, I cannot set a custom skin on a RadSiteMap control inside the master page.  I tried manually referencing the custom skin file and still doesn't work.  Any advice on how to do this?
thanks,
Hector
Hector
Top achievements
Rank 1
 answered on 08 Jul 2010
1 answer
129 views
I'm new to the PanelBar and I am trying to create a vertical menu that only expands/contracts when I click on the image and not the rest of the panel header.  When I click on the rest of the panel header, I want to be able to use NavigateUrl property to assign a link to it.  Is that possible?

thanks,

kristian
Princy
Top achievements
Rank 2
 answered on 08 Jul 2010
1 answer
83 views
I have been using the Qualidator SiteAnalyzer (German Company) to get really strict sites -- unfortunately, the only item used that I cannot get to pass is connected to Telerik Grid. The problems are preceded by "Spaghetti" below, indicating spaghetti mockup.

You can download their free version of their tool at http://www.qualidator.com.

I suspect that the best solution (because of browser compatibility issues) would be to conditionally move these items to css (class) depending on the browser.
<table  
Spaghetti Markupcellspacing="0" class="rgMasterTable Css Class"  
Spaghetti Markupborder="0" id="MainContent_Summary_65af65eb-72ff-4258-b047-6b6e5f742b5f_ctl00" summary="Listing of transactions recorded against Child Account #4."  
style="Spaghetti Markupwidth:100%;table-layout:auto;empty-cells:show;"> 
 
Dimo
Telerik team
 answered on 08 Jul 2010
5 answers
447 views
Hi!
Is my first time in the forum and is the first time I use telerik. My problem is the next.
i have a master page, in then page have "radWindow Manager"  for send alerts, the function is fine but the images is bad. The design of the alert box is distorted. When have a form exclusive of code of telerik the design is good, but in my page is necesary other form with "runat=server".
I explaind?

Doug Beard
Top achievements
Rank 1
 answered on 08 Jul 2010
1 answer
250 views
I'm associating by code a datasource to a grid inside a repeater control:

protected void Repeater1_PreRender(object sender, EventArgs e)
    {
        foreach (RepeaterItem item in Repeater1.Items)
        {
            //Dinamically generate DataSource and associate it to Repeater Item
            ObjectDataSource ods = new ObjectDataSource();
            ods.ID = "automaticDS";
            ods.TypeName = "MachinaWeb.Services.BO_ConfigurazioneProgramma_Parametro";
            ods.SelectMethod = "getAll";
            ods.UpdateMethod = "updateParametro";
            ods.SelectParameters.Add("_idCultura", DbType.Int64, HiddenFieldIdCultura.Value);
            ods.SelectParameters.Add("_idAzienda", DbType.Int64, HiddenFieldIdAzienda.Value);
            ods.SelectParameters.Add("_idGruppoParametro", DbType.Int64, ((HiddenField)item.FindControl("HiddenFieldIdGruppo")).Value);
  
            RadGrid radGrid = (RadGrid)item.FindControl("RadGridParametriConfigurazione");
            radGrid.DataSource = ods;
            radGrid.DataBind();
        }
    }

Pagination and all works correctly. Instead trying an update it seems we have some problems. No error is thrown but i can exit from update only with cancel and in debug I see it does not reach the update function code.. Why? How can I solve this?
Pavlina
Telerik team
 answered on 08 Jul 2010
4 answers
117 views
I've read the issue here: http://www.telerik.com/help/aspnet-ajax/panelbar-troubleshooting-root-items-collapse.html but I still can't get the root items to expand.

My ASPX:
    <Telerik:RadPanelBar ID="panelBar" runat="server" Width="100%" ExpandMode="MultipleExpandedItems">  
        <Items> 
            <Telerik:RadPanelItem> 
                <Items> 
                    <Telerik:RadPanelItem> 
                        <ItemTemplate> 
                            <%# Eval("ShortDefinition") %> 
                        </ItemTemplate> 
                    </Telerik:RadPanelItem> 
                </Items> 
            </Telerik:RadPanelItem> 
        </Items> 
        <DataBindings> 
            <Telerik:RadPanelItemBinding TextField="Label" Expanded="false" /> 
        </DataBindings> 
    </Telerik:RadPanelBar> 

My Code Behind:
namespace MyNamespace  
{  
    public partial class MyPage : System.Web.UI.Page  
    {  
        protected void Page_Load(object sender, EventArgs e)  
        {  
            panelBar.DataSource = new[]  
            {  
                new { Label="One", ShortDefinition="This is #1." },  
                new { Label="Two", ShortDefinition="This is #2." },  
                new { Label="Three", ShortDefinition="This is #3." },  
                new { Label="Four", ShortDefinition="This is #4." },  
                new { Label="Five", ShortDefinition="This is #5." }  
            };  
            panelBar.DataBind();  
        }  
    }  
} 

This produces a list of PanelItems (One, Two, etc.) but they are not expandable and there is no content.

Thanks!
Josh McCullough
Top achievements
Rank 1
 answered on 08 Jul 2010
10 answers
307 views
I have several questsions about Validation of the the RadTimePicker control as follows.

My current code does the following
    <telerik:RadTimePicker ID="RadTimePicker1"   
        runat="server"   
        EnableEmbeddedSkins="False"   
        ImagesPath="~/Images/Calendar"   
        Skin="Safe"   
        Width="90px">  
        <TimePopupButton CssClass="" HoverImageUrl="~/Images/Calendar/clockHover.gif" ImageUrl="~/Images/Calendar/clock.gif" /> 
        <TimeView Culture="English (United Kingdom)" EnableEmbeddedSkins="False" Skin="Safe" runat="server" > 
        </TimeView> 
        <DateInput EnableEmbeddedSkins="False" LabelCssClass="" Width="" Skin="Safe" runat="server">  
        </DateInput> 
        <Calendar EnableEmbeddedSkins="False" ImagesPath="~/Images/Calendar" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x" Skin="Safe" runat="server">  
        </Calendar> 
        <DatePopupButton CssClass="" HoverImageUrl="~/Images/Calendar\datePickerPopupHover.gif" ImageUrl="~/Images/Calendar\datePickerPopup.gif" Visible="False" /> 
    </telerik:RadTimePicker> 
    <asp:customvalidator clientvalidationfunction="validtime" cssclass="hourvalidator" setfocusonerror="true" id="starttimevalidator2" controltovalidate="RadTimePicker1" enableclientscript="true" runat="server" Display="Dynamic" >*</asp:customvalidator> 
   
I also have onblur code declared in the code behind this deals with values the user enters, the customvalidator is a client side validator, this validates the time enetered is between a start and end value, is rounded to the correct number of minites ie 00, 15, 30, and 45, is a valid time. Also a blank is a Valid entry

but I have noticed the following issues
1) When the user eners a time the zzzzz, I dont get the custom validtor to fire. I have tried with OnError this works, but the .net validator does not fire, and therefor the page does not see the error!, also If I set a flag to say its invalid how do I make sure that is unset?

2) I would like to overide the code that parses the time so that I can control when '!' is shown on the entry field, If I can access this then some of the issues in 1 would dealt with. All I would need to do is control when the control is valid/invalid

3) I need to ask the control in codebehind if it is valid, this includes entry of zzzzz etc.

4) Because I have a custom CSS skin I don't get the invalid time eneted '!', what do i need in the skin.css for correct this (minor issue)

(properly more to come as I keep digging)


Julian


Sune Dyrberg
Top achievements
Rank 1
 answered on 08 Jul 2010
2 answers
121 views
Hi Friends,

I have a RadTreeView Control and i use xml datasource binding.
i have a textbox above the treeview control.
When a type a word/node name in the textbox. i want my treeview to be binded only upto that node hierarchy. not its child details.

for ex:
consider a tree having A as parent its direct child is B and Its direct child  be C.
so if i search for B
Tree should only display A and its child B. since B is the node that i searched for.

Examples would be appresiated.

One more thing is . how to set the datasource proiperty for the RadTreeView control in javascript.

mn moule
Top achievements
Rank 1
 answered on 08 Jul 2010
3 answers
533 views
Hello,

I have a requirement to have RadComboBox that has AllowCustomText="True" Filter="Contains" but I would like to disable the user to enter some value that is not in the combo box list. Also is the RequiredFieldValidator the right control to use, when validating empty combo box text value.

Thank you in advance,
Vladimir
Kalina
Telerik team
 answered on 08 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?