Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
49 views
I would like to specify a start date and an end date, say January 5, 2011 to February 5, 2011. Within this range, I'd like to only show it Mon-Wed, and Sat-Sun. Is there a way to create a single appointment with that start and end date and create some sort of RecurrenceRule for this, or do I have to do a lot of manual work to make this scenario a reality?
Nikolay Tsenkov
Telerik team
 answered on 06 Jan 2011
8 answers
189 views
Hi,

I am using loading panel on one of my page. The problem I am experiencing is strange. When page loads for the first time, loading panel is shown as desired. On another button loading panel is not displayed.

If I click second button first, then loading panel is shown and not shown on the first button where it showed previously.

In short, it shows loading panel once the page loads and then it does not show up.

Please let me know if you need any other information from my end.
Atit Thaker
Top achievements
Rank 1
 answered on 06 Jan 2011
2 answers
61 views
Hi

I have here the following problem, wonder if it is a known issue:

Have a page with RadTabStrip, tabs generated by TabTemplates with DataSource provided. Tab Strip is set to be shorter than required to display all tabs ==> thus scrolling is there. Also there is function set for OnClientLoaded event.
Under normal circumstances:
 1) Tabs are loaded,
 2) tab strip scrollbar is displayed,
 3) function for OnClientLoaded event fires as required.

Now - I have added a RadButton with Text and ImageURL properties set as well as OnClientClicked pointing to existing function.
When I run page now, I see that:
 1) Tabs are loaded,
 2) tab strip scrollbar is NOT displayed, and tabs are NOT scrollable
 3) function for OnClientLoaded event does NOT fire
 4) RadButton is shown

are these two controls are incompatible or I am missing something?
I can set up some small sample demo if needed for investigation

Thanks,
Dmitry
Cori
Top achievements
Rank 2
 answered on 06 Jan 2011
1 answer
87 views
i want to find the textbox..?
aspx page
<EditItemTemplate>
                                        <asp:TextBox ID="txtState" TabIndex="1" Enabled="true" runat="server" Text='<%#Eval("MA")%>'></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="reqFieldValGameState" runat="server" ErrorMessage="RequiredFieldValidator"
                                            ControlToValidate="txtState" Text="Please enter Game state."></asp:RequiredFieldValidator>
                                         <asp:CustomValidator ID="custmValState" runat="server" ControlToValidate ="txtState" OnServerValidate ="custmValState_ServerValidate"
                                        ErrorMessage="Invalid State."></asp:CustomValidator>
                                    </EditItemTemplate>

code behind
  protected void custmValState_ServerValidate(object sender, ServerValidateEventArgs e)
        {
            
            TextBox txtState = (TextBox)grdGameInfo.FindControl("txtState");
            string sGameState = txtState.Text;

            switch (sGameState.ToUpper())
            {
                case "MA":
                    e.IsValid = true;
                    break;
                case "DA":
                    e.IsValid = true;
                    break;
                default:
                    {
                        e.IsValid = false;
                        return;
                    }
            }
        }

How to find the textbox in edittemplate of grid . How to find the textbox ..above event is called OnServerValidate ="custmValState_ServerValidate"

Help Me urgent . how to find textbox  inside the "custmValState_ServerValidate"  function
Shinu
Top achievements
Rank 2
 answered on 06 Jan 2011
1 answer
207 views
How do I set the contenturl in this function?
I thought it would have been: pageView.contenturl = "blah", but this does not compile.

Private Sub AddTab(ByVal tabName As String)
        Dim tab As RadTab = New RadTab
        tab.Text = tabName
        radTabStrip.Tabs.Add(tab)
  
        Dim pageView As RadPageView = New RadPageView
        pageView.ID = tabName
        'pageView.
        RadMultiPage.PageViews.Add(pageView)
  
        radTabStrip.SelectedIndex = tab.Index
        radTabStrip.DataBind()
    End Sub
Shinu
Top achievements
Rank 2
 answered on 06 Jan 2011
1 answer
108 views
I am trying to use the ASP.NET AJAX File Explorer control.  The control loads fine initially, with the correct folders etc but when ever I click a folder to open, the waiting icon appears and then it hangs and the grid doesn't refresh.

I keep getting a Javascript error Sys.WebForms.PageRequestManagerParserErrorException 

I have pretty much copied the markup from the Live Demos page.  I am using the Q2 2009 ( I am unable to upgrade) controls with ASP.NET MVC 2 using Visual Studio 2010.

Can someone help me at all?

Thanks

Barry

Dobromir
Telerik team
 answered on 06 Jan 2011
2 answers
116 views
Hi,

 I am using RadCalendar in my app. While click on the particular date opening the RadWindow. In that RadWindow i am entering three values, After closing that window those entered values are displaying on the particular date.

Now in that main page RadCalendar Page : I have three textboxes...In that after closing that RadWindow. need to display the displayed values on the date....

ex: on the date 3 : has V=1, S=1, O=1 and date 7: has V=2 , S=1, O=2.

 Need to display those values and accumulate in to textboxes in the main pages
like:
  Vacation : 3
  Sick :2
 Other:3

Tell me how to do?
Maria Ilieva
Telerik team
 answered on 06 Jan 2011
10 answers
454 views
Hello,

I have a problem with the tooltip positioning with some elements on my page.  I am using the TooltipManager and geting tooltip using javacript.  It is working fine with the position untill I scroll down the page.After scoll down it is showing tooltip uper side of the element.  Here is my sample code:  
<telerik:RadToolTipManager runat="server" ID="RadTaskToolTipMgr" OffsetY="-3" Width="280" Height="80" Position="BottomCenter" RelativeTo="Element" Animation="None" HideEvent="LeaveToolTip" Text="Loading..." ShowEvent="OnClick" />

<script type="text/javascript">
function
GetTootltip(element, Task_id) {
var tooltipManager = $find("<%= RadTaskToolTipMgr.ClientID %>");
if (!tooltipManager) return;
var tooltip = tooltipManager.getToolTipByElement(element);
if (!tooltip) {
tooltip = tooltipManager.createToolTip(element);
$.ajax({
type:
"POST",
url:
"Get-Members.aspx",
data:
"Id=" + Task_id + "&For=Task",
success:
function(msg) { if (msg == "1") {
window.location =
"../login.aspx";
}
else
    tooltip.set_text(msg);
    element.onclick =
null
    element.onmouseover =
null;
tooltip.show();
}
}
});
}
else {
element.onclick =
null;
element.onmouseover =
null;
tooltip.show();
}
return false;
}
</script>
Svetlina Anati
Telerik team
 answered on 06 Jan 2011
1 answer
73 views
How to identity gird cancel button click . In javascript .

I want to identitfy the cancel button is click on client side.

Shinu
Top achievements
Rank 2
 answered on 06 Jan 2011
2 answers
64 views

I have a numeric column in a grid that receives numbers from a datatable. The cell is conditionally formatted during OnItemDataBound to change color depending on the how larger the number in the cell is.

I would like to format the number in the column regardless of how larger it is so that it displays , thousands separator. However, when I use a DataFormatString (either in code or via a PreRender method) an exception is thrown because the number no long matches (1000 vs 1,000).

 

How can I properly format the data in the column while allowing it to be conditionally formated?

Radoslav
Telerik team
 answered on 06 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?