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

I would like to get first and last day of the week in the the code behind.

Regards
Frank
Ivana
Telerik team
 answered on 26 Apr 2012
1 answer
157 views
This will be a hard explanation, but here goes:

Scenario:

We are using RadScheduler as a resource scheduler with Resource Grouping. We are having issues validating in a timely fashion with large recurring appointments and our assignment count logic.

Our Resources have an assignment count: (Example: Room #1, has an max occupancy of 100, Room #2 has an max occupancy of 2, so for a particular timeslot it can have 100 appointments in it.)

Scenario Example:

Room #1 has 100 Recurring Appointments that have a frequency of every weekday for 2 weeks, Monday-Friday 8:00 AM - 9:00 AM. Therefore the Assignment count max has been reached @ 100.

End User wants to schedule an appointment that reoccurs everyday other Tuesday @ 8 AM and it falls in one of these timeslots.
Right now we expand out the occurrences of all the reoccurring appointments to validate using SQL server and UDF, this becomes super inefficient when each of the reoccurring appointments can have 100-1000 occurrences each.

What we are looking for is there a way to take the recurrence string and compare say 2 strings, and get a return value that says that they overlap here this many times. So we can count up the amount and if its < than the assignment count then its valid.

Any ideas/help would be greatly appreciated.

Thanks,


Peter
Telerik team
 answered on 26 Apr 2012
3 answers
99 views
This is the scenario:

RadFormDecorator on a page with a MultiPage and DropDownList inside two different PageViews.
The default PageView renders fine - all the controls are nicely designed using the FormDecorator.

On the other hand, on the 2nd PageView the FormDecorator is not doing its thing and the DropDownList keeps the default style.

All the other controls work fine in both PageViews.

The problem occurs only in Google Chrome - IE and FF work as expected. This was tested in Multiple Chrome versions - problem persists.

Here is a sample code, nothing fancy:

<form id="form1" runat="server">
<telerik:RadScriptManager ID="ScriptManager" runat="server" AsyncPostBackTimeout="1000">
</telerik:RadScriptManager>
<telerik:RadFormDecorator ID="rfd" runat="server" Skin="Office2010Blue" DecoratedControls="All" />
<telerik:RadTabStrip ID="ts" runat="server" Skin="Office2007" MultiPageID="rp" CausesValidation="False"
    SelectedIndex="0" AutoPostBack="false">
    <Tabs>
        <telerik:RadTab Text="Customer Information" PageViewID="rvp1">
        </telerik:RadTab>
        <telerik:RadTab Text="Items" PageViewID="rvp2">
        </telerik:RadTab>
    </Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="rp" runat="server" SelectedIndex="0">
    <telerik:RadPageView ID="rvp1" runat="server" Selected="true">
        <asp:DropDownList ID="DropDownList1" runat="server">
        </asp:DropDownList>
    </telerik:RadPageView>
    <telerik:RadPageView ID="rvp2" runat="server">
        <asp:DropDownList ID="DropDownList2" runat="server" Width="100px">
        </asp:DropDownList>
    </telerik:RadPageView>
</telerik:RadMultiPage>
</form>

Niko
Telerik team
 answered on 26 Apr 2012
1 answer
184 views
Hello

we use Asp.net ajax gridview our grid view are translated to Arabic , sometimes after clicking a button in the page or sorting the gridview , the coulmn header direction are changed and it didn't return to it's place untill you move the cursor above it , please check the attached image.
Richard
Top achievements
Rank 1
 answered on 26 Apr 2012
1 answer
181 views
Hi there,

I'm using the 'Metro' skin in a Radmenu as part of a company intranet site. The menu and skin work perfectly but I've noticed that the menu items display as 'lowercase'. I've inspected the RadMenu_Metro selector in Firebug and it is set to text-transform: uppercase; so I'm not sure what to amend.

Could someone tell me if it's possible to adjust the menu text to uppercase without creating a custom skin or is it just the case that some embedded skins like 'Metro' have a default lowercase setting?

Many thanks

Brian
Peter
Telerik team
 answered on 26 Apr 2012
2 answers
70 views
Hi Guys

I am back to upgrade chart work 

I have one chart and clients requirement is like below


$60 |
$50 |
$40 |
$30 |
$20 |
$10 |
______________
$10 $20 $30 $40

Can i do like above ?

Karthik.K




Karthik Kantharaj
Top achievements
Rank 1
 answered on 26 Apr 2012
8 answers
172 views
If you look at the documentation for RadPanelBar, you will find:

All server controls located in the templates are directly accessible by their IDs on Page-level. Instead of using the common syntax
        RadPanelBar1.Items[0].Header.FindControl("RadMenu1") //inside a HeaderTemplate
        RadPanelBar1.Items[0].FindControl("RadMultiPage1") //inside a ContentTemplate
    
you can use RadMenu1 or RadMultiPage1 to reference the control located inside the respective template of the first root Item of a PanelBar.
 

However, trying to actually use this functionality, it seems like controls within a RadPanelBar are not accessible without using the FindControl(). In a RadMultiPage though, it seems possible. Other post by Telerik personel here in the forum seem to confirm this. Or am I missing something here?

http://demos.telerik.com/aspnet-ajax/panelbar/examples/functionality/templates/defaultcs.aspx
Kate
Telerik team
 answered on 26 Apr 2012
1 answer
158 views
Hi,

       In my page I have to popup the radconfirm on a button click.  Depends upon the value return by radconfirm I have to perform some actions that is if it is false or null  then cancel the click event action. If it is true then I donot perform no operation because  i have written the server side button click event handling function so it will call. My problem is if i click button radconfirm is popuped and it doesnt wait for  the value return by the radconfirm it postbacks and perform the server side action.

Thanks
Velkumar.
rdmptn
Top achievements
Rank 1
 answered on 26 Apr 2012
1 answer
77 views
hi,

i have use radgrid in my project. and also mouse over in radgrid (radgrid heght changed automatically)
i  need  to fix height in mouse over in radgrid.
and also i have attached radgrid image.

pls help me.

Regards
Padmanaban thirunamam

Pavlina
Telerik team
 answered on 26 Apr 2012
3 answers
341 views
will the code below work? but if it does, then every time i add new content page and want to
have a post back on a control, i have to add that into master page? can't i just have the
manager in content page?


below code is in master.master
<
telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnDecrease">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="TextBox1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

below code is in default.aspx
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Button ID="btnDecrease" runat="server" Text="Increase" OnClick="btnDecrease_Click" />
    <asp:textbox ID="TextBox1" runat="server" Text="0"></asp:Label>
</asp:Content>

Maria Ilieva
Telerik team
 answered on 26 Apr 2012
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?