Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
105 views
I have telerik RadControls ASP.NET AJAX form Q3 2010 SP2 v.2010.3.1317.40  and problems pressentan  with internet explorer 9. How could solve this problem?

Thank you.
ALBERT
Top achievements
Rank 1
 answered on 11 Apr 2012
2 answers
114 views
Hi

My appointments in my scheduler have custom context menus.

Once an appointment time has passed I want to enable one of my custom context menu items so the user can click it and fill in a feedback form for the appointment, but they are not allowed to do this until the appointment has been. 

Is there anyway of getting a reference to an appointment's context menu when an appointment is created and checking the date and enabling this item depending what it is?

I can't seem to find anything in the documentation regarding this.

Bex

Bex
Top achievements
Rank 1
 answered on 11 Apr 2012
3 answers
169 views
How to clear date in datepicker from client side(button click)?
Princy
Top achievements
Rank 2
 answered on 11 Apr 2012
1 answer
197 views
Hi there,

EDIT: We've just isolated this further. The problem is coming from the RadComboBox inside the RadMenu slide.
We're making use of PIE.htc for specific IE scenarios like Border Radius, Gradients and so forth, which works well all over the site except in this one instance. When the CSS3-Container is rendered it is given a radiculously high width (15500px) and height (2700px).


We're having a serious issue where a form inside a RadMenuItem template displays well in all browsers except in IE 7 where it basically explodes out of proportion. See the attached image, the first showing what it should look like and does look like in all other browsers and the second showing what it looks like in IE7.

Something else we're noticing is that if you zoom out of the page or if you open the developer bar at the bottom... it flips back to its normal size. Still doesn't look great, but at least it doesn't look like an explosion went off on the page.

The code looks like this:
<telerik:RadMenu ID="SubNav" runat="server" ClickToOpen="true" Width="800px" EnableEmbeddedBaseStylesheet="false"
    EnableEmbeddedSkins="false" CollapseAnimation-Type="None" ExpandAnimation-Type="None">
    <Items>
        <telerik:RadMenuItem Text="Ship" PostBack="false" OuterCssClass="menuButton menuButtonShip">
            <Items>
                <telerik:RadMenuItem CssClass="subNavPopUpBox">
                    <ItemTemplate>
                        <div id="shipMenu">
                            <div id="truckload" class="subNavColumns">
                                <div class="subNavColumnBody">
                                    <h2>
                                        Freight Brokerage</h2>
                                    <div class="subNavImages">
                                        <img src="/Sitefinity/WebsiteTemplates/Template2012/App_Themes/CorporateTheme/Images/subNavTruckload.png"
                                            height="98px" width="139px" /></div>
                                    <p>
                                        We offer a full range of on-the-raod freight services:
                                        <ul>
                                            <li><strong>Full Truckloads</strong></li>
                                            <li><strong>LTL</strong></li>
                                            <li><strong>Temp Controlled</strong></li>
                                        </ul>
                                    </p>
                                </div>
                                <div class="subNavColumnFooter">
                                    <a href="/about/our-services/freight-brokerage" class="subNavLink subNavMoreLink">
                                        more</a><a id="shipSelectTruckload" href="#" class="subNavSelect subNavSelectOn">select</a>
                                </div>
                            </div>
                            <div id="expedited" class="subNavColumns">
                                <div class="subNavColumnBody">
                                    <h2>
                                        Expedited Shipping</h2>
                                    <div class="subNavImages">
                                        <img src="/Sitefinity/WebsiteTemplates/Template2012/App_Themes/CorporateTheme/Images/subNavExpedited.png" /></div>
                                    <p>
                                        For your expedited services or special handling needs. Use our own fleet of owner
                                        operators to move your loads quickly and reliably.</p>
                                </div>
                                <div class="subNavColumnFooter">
                                    <a href="/about/our-services/expedited-shipping" class="subNavLink subNavMoreLink">
                                        more</a><a id="shipSelectExpedited" href="" class="subNavSelect subNavSelectOff">select</a></div>
                            </div>
                            <div id="freight" class="subNavColumns">
                                <div class="subNavColumnBody">
                                    <h2>
                                        Freight Forwarding</h2>
                                    <div class="subNavImages">
                                        <img src="/Sitefinity/WebsiteTemplates/Template2012/App_Themes/CorporateTheme/Images/subNavFreight.png" /></div>
                                    <p>
                                        Whether your Air or Ocean freight is going domestically or internationally, we got
                                        you covered.<br />
                                        <a href="" class="subNavLink subNavDownloadLink">Download Forms</a>
                                    </p>
                                </div>
                                <div class="subNavColumnFooter">
                                    <a href="/about/our-services/freight-forwarding" class="subNavLink subNavMoreLink">
                                        more</a><a id="shipSelectFreight" href="" class="subNavSelect subNavSelectOff">select</a></div>
                            </div>
                            <div id="shipForm" class="subNavColumns">
                                <fieldset id="shipFormTruckload" class="form">
                                    <div class="subNavColumnBody">
                                        <h2>
                                            Enter Your Truckload Brokerage Details</h2>
                                        <ul>
                                            <li>
                                                <asp:Label ID="FromZipCodeLabel" AssociatedControlID="FromZipCode" runat="server">From Zip Code <span class="validate">*</span></asp:Label>
                                                <telerik:RadTextBox Width="168px" runat="server" ID="FromZipCode" EnableEmbeddedBaseStylesheet="false"
                                                    EnableEmbeddedSkins="false" EnableSingleInputRendering="true">
                                                </telerik:RadTextBox>
                                            </li>
                                            <li>
                                                <asp:Label ID="ToZipCodeLabel" AssociatedControlID="ToZipCode" runat="server">
                                                    To Zip Code <span class="validate">*</span></asp:Label>
                                                <telerik:RadTextBox Width="168px" runat="server" ID="ToZipCode" EnableEmbeddedBaseStylesheet="false"
                                                    EnableEmbeddedSkins="false" EnableSingleInputRendering="true">
                                                </telerik:RadTextBox>
                                            </li>
                                            <li>
                                                <asp:Label ID="TruckTypesLabel" AssociatedControlID="TruckTypes" runat="server">
                                                    To Zip Code <span class="validate">*</span></asp:Label>
                                                <telerik:RadComboBox Width="168px" ZIndex="99999" ID="TruckTypes" runat="server"
                                                    Height="50px" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false">
                                                    <Items>
                                                        <telerik:RadComboBoxItem Text="Dry Van/ Truckload" />
                                                        <telerik:RadComboBoxItem Text="Flatbed" />
                                                        <telerik:RadComboBoxItem Text="Temperature Controlled" />
                                                        <telerik:RadComboBoxItem Text="Over Dimensional" />
                                                        <telerik:RadComboBoxItem Text="LTL" />
                                                    </Items>
                                                </telerik:RadComboBox>
                                            </li>
                                            <li>
                                                <asp:Label ID="DimensionsLabel" AssociatedControlID="Weight" runat="server">
                                                    Weight/Dimensions<br />
                                                    <span class="subtleNote">(in lbs and inches)</span></asp:Label>
                                                <div style="position: relative; float: right; width: 182px">
                                                    <telerik:RadTextBox ID="Weight" EmptyMessage="Wt" runat="server" Width="25px" EnableEmbeddedBaseStylesheet="false"
                                                        EnableEmbeddedSkins="false" EnableSingleInputRendering="true">
                                                    </telerik:RadTextBox>
                                                    <telerik:RadTextBox ID="Width" EmptyMessage="W" runat="server" Width="25px" EnableEmbeddedBaseStylesheet="false"
                                                        EnableEmbeddedSkins="false" EnableSingleInputRendering="true">
                                                    </telerik:RadTextBox>
                                                    <telerik:RadTextBox ID="Height" EmptyMessage="H" runat="server" Width="25px" EnableEmbeddedBaseStylesheet="false"
                                                        EnableEmbeddedSkins="false" EnableSingleInputRendering="true">
                                                    </telerik:RadTextBox>
                                                    <telerik:RadTextBox ID="Length" EmptyMessage="L" runat="server" Width="25px" EnableEmbeddedBaseStylesheet="false"
                                                        EnableEmbeddedSkins="false" EnableSingleInputRendering="true">
                                                        <EmptyMessageStyle Height="20px" />
                                                    </telerik:RadTextBox>
                                                </div>
                                            </li>
                                        </ul>
                                    </div>
                                    <div class="subNavColumnFooter">
                                        <span class="validate">*</span> <span class="subtleNote">Required Fields</span>
                                        <telerik:RadButton Height="27px" ID="TruckloadQuoteOnly" Text="Quote Only" TabIndex="8"
                                            runat="server" ToggleType="CheckBox" ButtonType="LinkButton" AutoPostBack="false"
                                            EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false">
                                            <ToggleStates>
                                                <telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleCheckboxChecked" />
                                                <telerik:RadButtonToggleState PrimaryIconCssClass="rbToggleCheckbox" />
                                            </ToggleStates>
                                        </telerik:RadButton>
                                        <a href="" class="subNavNext">Next</a>
                                    </div>
                                </fieldset>
                                <fieldset id="shipFormExpedited" class="form">
                                    <div class="subNavColumnBody">
                                        <h2>
                                            Enter Your Expedited Shipping Details</h2>
                                        <ul>
                                            <li>
                                                <asp:Label ID="Test1Label" AssociatedControlID="Test1" runat="server">From Zip Code <span class="validate">*</span></asp:Label>
                                                <telerik:RadTextBox Width="168px" runat="server" ID="Test1" EnableEmbeddedBaseStylesheet="false"
                                                    EnableEmbeddedSkins="false">
                                                </telerik:RadTextBox></li>
                                            <li>
                                        </ul>
                                    </div>
                                    <div class="subNavColumnFooter">
                                        <a href="" class="subNavNext">Next</a
                                    </div>
                                </fieldset>
                                <fieldset id="shipFormFreight" class="form">
                                    <div class="subNavColumnBody">
                                        <h2>
                                            Enter Your Freight Forwarding Details
                                        </h2>
                                        <ul>
                                            <li>
                                                <asp:Label ID="Label2" AssociatedControlID="RadTextBox2" runat="server">From Zip Code <span class="validate">*</span></asp:Label>
                                                <telerik:RadTextBox Width="168px" runat="server" ID="RadTextBox2" EnableEmbeddedBaseStylesheet="false"
                                                    EnableEmbeddedSkins="false">
                                                </telerik:RadTextBox></li>
                                            <li>
                                        </ul>
                                    </div>
                                    <div class="subNavColumnFooter">
                                        <a href="" class="subNavNext">Next</a
                                    </div>
                                </fieldset>
                                <a href="" id="shipMenuClose" onclick="menu_Close();return false;">X</a>
                            </div>
                        </div>
                    </ItemTemplate>
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenuItem>
    </Items>
</telerik:RadMenu>

I've removed the additional menus, but they're behaving just as badly.

Any help with this would be appreciated.
PS. We're using the Telerik controls that come with Sitefinity 4.4 (It's a SF project, but it's the Telerik controls causing the issues not Sitefinity)

Regards,
Jacques
Ivan Zhekov
Telerik team
 answered on 11 Apr 2012
2 answers
157 views
I'm experiencing some issue on this project I'm working on... when I try to do virtual scroll some weird things happen. For example, virtual scroll isn't working and I can't see bound columns in the RadGrid.

I'm attaching example screenshots. I can supply parts of the code if necessary?
Ivan
Top achievements
Rank 1
 answered on 11 Apr 2012
3 answers
147 views
Hi 

I have an issue I hope someone can help with. I have two tree's (Source, Destination). Source contains simple text nodes in a hierarchical format (fields from a form)

Source Tree
- Application
- Properties
Age of Applicant
Mobile Phone

The destination tree is made up on nodes containing custom controls. I create them on the fly using Node.Controls.Add(customControl). I rebuild the Destination tree on each Postback so that the tree remains consistent.

Destination Tree

- Root (Custom Control in Node - Label)
- Process 1 (Custom Control in Node - No Fields)
Action 1 (Custom Control in Node - Text Box, Labels)
Query 1 (Custom Control in Node - Text Boxes, Labels)

Inside my Action 1 custom control I have various fields. I need to be able to drag a node from Source onto the Text field held in the Custom Control contained within the node on the Destination tree.

So far nothing has worked. Dragging from Source to Destination only triggers the Destination Node on drop (so I don't know which Custom Control field it was dropped onto - Html, and I don't get anything from HtmlElementID when dropping over the actual field.

I've tried disabling Drop on the Destination Nodes (in the hope that the custom control fields could then be seen) but this didn't work, as it brings up the Can't Drop icon.

Is this possible with the current Telerik controls?

Thanks

Steve
Plamen
Telerik team
 answered on 11 Apr 2012
3 answers
107 views
I created a chart with scrolling, but the scroll bar eats into the chart instead of offsetting it.  What that means is that if I have a column chart and one of the entries is 0, then the label gets cut off by the scroll bar.

So what I've had to do is add a negative minimum to the y-axis to create a buffer which looks silly.  Especially when the chart renders without the scroll bar, then I have a blank space under the columns.

Is there anyway around this?

Thanks.
Evgenia
Telerik team
 answered on 11 Apr 2012
1 answer
167 views
I've been trying to figure this out for a day now and am no closer to a solution. I want to bar graph items on a percentage scale, but for each bar show in the label the count that corresponds to that percentage. Can you point me to a working sample of this? Preferably one that is database bound so that i can see how my dataset should be coming back from SQL too?
Evgenia
Telerik team
 answered on 11 Apr 2012
1 answer
91 views
Hi,

The following code is not working when using Telerik.Web.UI namespace (Mark on PageViewItemCreatedDelegate and PageViewItemCreated):

Can you please send me the modified code in order to make it work using Telerik.Web.UI namespace?

private void InitializeComponent()
{
this.RadMultiPage1.PageViewItemCreated += new PageViewItemCreatedDelegate(this.RadMultiPage1_PageViewItemCreated);
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
private void RadMultiPage1_PageViewItemCreated(RadPageView view, int viewIndex)
{
Control userControl = LoadControl((string)ViewState["pv" + viewIndex.ToString()]);
userControl.ID = view.ID + "uc";
view.Controls.Add(userControl);
}


Regards,
Bader
Bader
Top achievements
Rank 1
 answered on 11 Apr 2012
1 answer
74 views

Hey Guys, I am currently  testing your tools, I am finding them really interesting. I am currently testing the OrgChart with the RadTool tip. Basically testing your example.  OrgChart / Using RadOrgChart with RadToolTip. When I run it on my computer, the RadToolTip takes a long time to fire my employeedetail control. Is there a setting for it not to take so long? 

I am running the same code as the one you guys have on the example, the only difference, is that on the SQLdata I am running procedures instead of select statements. 
Can you guys please help me? 





Peter Filipov
Telerik team
 answered on 11 Apr 2012
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?