Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
224 views

I was excited for this new control, but it doesn't seem to work. Our users want to tab into the field and enter a date, thereby avoiding the mouse completely. On a newly placed control, within DateInput, set properties DateFormat and DisplayDateFormat to "MM/yyyy" since we never want to see month spelled out.

Run it, type 11/06 and tab out -- it shows 11/2011, the wrong year.
Now try 5/08 and tab out -- it shows 05/2011, also the wrong year.

This seems very basic, so I'm hoping I'm missing some setting to make it work as one would expect for a MonthYearPicker control.
Iana Tsolova
Telerik team
 answered on 01 Apr 2011
3 answers
143 views
Hello,

I am new to the Telerik controls and I am having a problem trying to find out why my data grid is not loading. It will work fine when it loads the web page without the grid being in a view but if I put it in a view then all I get is the outline when the page loads.

If I use a datasource and call rebind on the grid then it will work but not when it uses OnNeedDataSource. It does not get fired if the grid is not on the first page view displayed.

I would appreciate any help or pointing me in the right direction.

Thanks
Iana Tsolova
Telerik team
 answered on 01 Apr 2011
5 answers
173 views
Hello,

I have a webpage hosted in a Server A that has an IFRAME that displays the content of the webpage using RadChart in a Server B.

I'm getting this error only when I'm trying to access with Internet Explorer. I don't have this problem using Firefox:

Error loading RadChart image.
You may also wish to check the ASP.NET Trace for further details.
Display stack trace?

I have already tried a lot of changes on web.config and UseSession property. But no success. What else should I try?

I'm new on this team and I'm not sure about the version we're actually using but the installer name is: RadControls_for_ASP.NET_AJAX_2008_2_723_dev.exe (if you could provide me more info about this, I'll be thankful too).
Danilo
Top achievements
Rank 1
 answered on 01 Apr 2011
3 answers
435 views
Hello Fir,

How to Hide Close Button of Dock Title Bar
i want remove Close Button.

Please Help Me.

Thanks
Chandan Kumar.
Pero
Telerik team
 answered on 01 Apr 2011
0 answers
85 views
cleared.. 
Asif
Top achievements
Rank 1
 asked on 01 Apr 2011
3 answers
142 views
Hi all,

I have a RadWindow that pops up. It displays various input fields based on conditions. So, for instance, if a checkbox becomes checked I need to re-enable several controls on the page.

<fieldset>
    <legend>Refresh Settings</legend>
    <table>
        <tr>
            <td class="AutoRefreshEnabled">
                Auto-Refresh Enabled:</td>
            <td class="AutoRefreshCheckbox">
            <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True" oncheckedchanged="CheckBox1_CheckedChanged" />
            </td>
            <td class="AutoRefreshNumericTextbox">
                <telerik:RadNumericTextBox ID="RadNumericTextBox1" Runat="server"
                    Label="Auto-Refresh Interval:" MaxValue="60" MinValue="0"
                    ShowSpinButtons="True" Value="0" Width="175px" Enabled="False"
                    LabelCssClass="riLabel LabelDisabled">
                <NumberFormat DecimalDigits="0" />
                </telerik:RadNumericTextBox>
            </td>
        </tr>
    </table>
</fieldset>

protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
{
    RadNumericTextBox1.Enabled = (sender as CheckBox).Checked;
 
    if (RadNumericTextBox1.Enabled)
    {
        RadNumericTextBox1.LabelCssClass = "LabelEnabled";
    }
    else
    {
        RadNumericTextBox1.LabelCssClass = "LabelDisabled";
    }
}

.LabelEnabled
{
    color: Black !important;
}
 
.LabelDisabled
{
    color: Gray !important;
}
 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="CheckBox1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadNumericTextBox1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
</telerik:RadAjaxManager>

When the user clicks the CheckBox there is an abnormal delay between when the CheckBox becomes checked and when the RadNumericTextBox becomes enabled. When the user un-checks the CheckBox there is no such delay. I experience this same, quirky effect on all similar event-response controls.

I do not want a loading panel -- it would be weird having loading screens over controls for a second. Is there anything I am missing?

Thanks, Sean
Maria Ilieva
Telerik team
 answered on 01 Apr 2011
1 answer
111 views
I need to display a lot of read-only text to the user and enable some additional page controls when the user has "read all" (scrolled to the bottom) of the text. I am considering using a RadTextBox in multiline mode but need a client side event when the textbox has been scrolled to the bottom. Is there a way to accomplish this? If there's a better approach, I'm open to it.
Maria Ilieva
Telerik team
 answered on 01 Apr 2011
2 answers
97 views
First let me specify my environment, am using the ASP.net AJAX Q1 2011 35 controls in VS2010 with VB.net.

In my application I have a button in a RadGrid that when clicked will display a RadWindow to all for some user input which will then be used back on the main page, and I am doing all of this with server-side code.  The first time I push the button and change the visible property of the RadWindow to true it displays correctly and allows for the input that I need.  The user pushes the Close button on the form which runs more server-side code which set the visible property of the RadWindow to false.  The next time the user presses the button the RadWindow displays but all of the skin items are missing.  It's just a basic white box, with my controls in it.  How can I make the RadWindow look the same after the first time it is shown?

Thanks.
Todd
Top achievements
Rank 1
Iron
 answered on 01 Apr 2011
6 answers
181 views
I have a fairly complex ajax page with an Accordian(AJAX Toolkit), a RadGrid in the upper level of the accordian and Grid Item Details in the lower part of the accordian.  When the user selects an item in the grid, the accordian changes and shows the details in the bottom part of the accordian.

I have a Search "Div" on the page.  When the user clicks "Search", it searchs for results, then collapses/expands the Accordian to show the results in the grid(upper accordian level).

I tried adding the RadAjax Manager and Loading Panel to the page.  When the User clicks the Search Button, the RadLoading Panel shows up over the Details form and that works.  But then I get a Javascript error message:

Microsoft JScript runtime error: 'document.getElementById(...)' is null or not an object

document.getElementsByTagName("head")[0].appendChild(b)

If I remove the RadAjax Loading panel and Manager, the error goes away.  Here is my HTML for the RadAjax Manager and Loading Panel:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"><br>        <AjaxSettings><br>            <telerik:AjaxSetting AjaxControlID="btnSearch1"><br>                <UpdatedControls><br>                    <telerik:AjaxUpdatedControl ControlID="upScriptDetail" LoadingPanelID="RadAjaxLoadingPanel1" /><br>                </UpdatedControls><br>            </telerik:AjaxSetting><br>            <telerik:AjaxSetting AjaxControlID="btnSearch"><br>                <UpdatedControls><br>                    <telerik:AjaxUpdatedControl ControlID="upScriptDetail" LoadingPanelID="RadAjaxLoadingPanel1" /><br>                </UpdatedControls><br>            </telerik:AjaxSetting><br>        </AjaxSettings><br></telerik:RadAjaxManager>


Here is my code behind for showing the search results.
 if (result.Count > 0)<br> {<br>         //expand the search results...<br>         this.CollapsiblePanelExtender1.Collapsed = false;<br>         this.CollapsiblePanelExtender1.ClientState = "false";<br>         //collapse the details...<br>         this.CollapsiblePanelExtender2.Collapsed = true;<br>         this.CollapsiblePanelExtender2.ClientState = "true";<br><br>         bindSearchResults(result);<br>         radgridSearchResults.DataBind();<br> }<br><br> private void bindSearchResults(List<CreativeSearchDataService.ScriptSearchResult> searchResults)<br> {<br>      radgridSearchResults.SelectedIndexes.Clear();   //reset just in case this is a new search...<br>      radgridSearchResults.DataSource = searchResults;<br>      radgridSearchResults.MasterTableView.DataKeyNames = new string[] { "id" };<br> }


Any help would be greatly appreciated.

thanks


Maria Ilieva
Telerik team
 answered on 01 Apr 2011
1 answer
77 views
I have a page that has a tabstrip with 4 tabs/pageviews. The splitter declaration below is on the third pageview. The splitter is in a container that is height/width 100%. I have found, when I open the page and the first tab/pageview is displayed, and I switch to the third tab (the one with the splitter), everything looks fine. However if I open the page and the third tab is displayed by default, the left hand pane of the splitter takes up a little less than the prescribed 364px. It looks like it is less by the width of a scroll bar. I have attached splitter1.jpg which demonstrates this narrowing and splitter2.jpg which is what it correctly looks like if I load the first tab by default and switch to the one with the splitter. The red bar in each is a gif of width 364px which can be used for comparison with the splitter pane. I tried handling the spliter ONClientLoad and OnClientLoaded events and used the "repaint" client-seide method, but this didn't seem to change anything. Any ide why the splitter pane sizes incorrectly when first loaded?

Splitter Ma
<telerik:RadSplitter ID="rsT_H" 
            runat="server" 
            Width="100%"
            Height="100%" 
            Orientation="Vertical" 
            ResizeWithParentPane="False" 
            ResizeWithBrowserWindow="True"
            BorderSize="0"
            VisibleDuringInit="False"
            HeightOffset="0"
                    >
            <telerik:radpane runat="server" id="lPane" Scrolling="None" Width="364px" Height="100%" CssClass="BorderedContainer2"  <telerik:RadAjaxLoadingPanel id="lpC_H" Runat="server" Transparency="30" Height="100%" Width="100%" BackColor="#E4E4E4"><asp:Image id="Image1" runat="server"  AlternateText="Loading..." BorderWidth="0px" ImageUrl="~/global/images/loading2.gif" style="margin-top:50px;"></asp:Image></telerik:RadAjaxLoadingPanel>
                        <asp:Panel ID="pnlC_H" runat="server" Height="100%" >
                            <asp:PlaceHolder ID="phContent_H" runat="server"></asp:PlaceHolder>
                        </asp:Panel>
            </telerik:radpane>
            <telerik:radpane runat="server" id="rPane" Scrolling="None" Width="100%" Height="100%" BackColor="Pink">
                <div style="height:100%; vertical-align:middle; text-align:center; padding:10px;"><span class="Normal">Select the custom content item which will be included in this email using the list above. You can also create a new custom content item, or edit the currently selected item.<br /><br /><strong>Please Note:</strong> The content space to the left represents the actual width of the custom content block in this email template. To see what it will look like within the body of the email, click on "Preview HTML Version" above.</span></div>
            </telerik:radpane>
        </telerik:RadSplitter>
rkup:

Dobromir
Telerik team
 answered on 01 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?