Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
137 views
Hi,
In case the format of the Calendar embedded in the Scheduler is annoying anyone else (basically, the images for selecting and mouseover were too big for the day slots), just add this to the head of your page :

<style type="text/css">  
        .RadCalendar_Web20 .rcMain .rcRow a   
        {  
            line-height:34px !important;  
        }  
</style> 
Serrin
Top achievements
Rank 1
 answered on 10 Mar 2009
1 answer
237 views
Requirement: Create 30 min time slots from 8 - 5 and allow users to create upto 5 appointments for each slot.
ex: 8 - 8:30 AM; 8:30 AM - 9:00 AM etc time slots should be available on the calendar for users to pick a time slot and schedule. Calendar should allow upto 5 concurrent appointments for a time slot.
Calendar can be database driven with time slots created in advance for x number of days.

Question: Can we accomplish this using Telerik Scheduler control?
Serrin
Top achievements
Rank 1
 answered on 10 Mar 2009
1 answer
118 views
Hi,

I have a grid bound to an objectdatasource.
I represents a shoping cart. Now my problem.

The cart class (reduced) 3 properties:
CartID, LineNumber, NumItems
Only NumItems is editable the other fields are readonly.
There is a static method called "UpdateNumItems" definedt like this:

public static int CartLinesChangeNumItems(string strCartID, int nLineNumber, int nNumItems) {  
... 
When I update in the grid it tells me "There is no generic method accepting strCartID, nLineNumber, nNumItems, NumItems, LineNumber, CartID
This is when I set (what's correct) CartID and NumItems as DatakeyNames.
If I remove the datakeyNames I get There is no... accepting strCartID, nLineNumber, nNumItems, NumItems

So I guess Grid uses the Parameters from the update parameters - and it adds his fields to this collection.

My Question now - how can I tell Grid the "translation" -- so I can Say NumItems is Parameter strNumItems.

Of course I could change the parameter names on the functions (then it works) -- but what if I am not able to do this?

Regards

Manfred
Yavor
Telerik team
 answered on 10 Mar 2009
1 answer
132 views
I have a rotator reading image urls from the images dir in the local website. when a user clicks the image it assigns the image url to a larger image and then updates the image by way of a RadAjax control... however what happens is that when you click the ribbon image you get an "access denied" dialog if you are not debugging and a VS debug popup if you are... here is the code block of where VS thinks the error is occuring

 

this._onReadyStateChange = (function () {

 

 

 

if (_this._xmlHttpRequest.readyState === 4 ) {

 

 

try {

 

 

if (typeof(_this._xmlHttpRequest.status) === "undefined") {

 

 

return;

 

}

}

 

catch(ex) {

 

 

return;

 

}

 

_this._clearTimer();

_this._responseAvailable =

true;

 

 

try {

 

_this._webRequest.completed(Sys.EventArgs.Empty);

}

 

finally {

 

 

if (_this._xmlHttpRequest != null) {

 

_this._xmlHttpRequest.onreadystatechange = Function.emptyMethod;

_this._xmlHttpRequest =

null;

 

}

}

}

});


I dont know if this is related to the rotator or the RadAjax control so i am starting here. one other post mentioned cross domain posting but i am not doing that.

Thanks, Scott

Fiko
Telerik team
 answered on 10 Mar 2009
1 answer
181 views
Hi all

How to create customized raddatepicker.
In my application for calendar Skin="WebBlue" m using, it looks nice and compatible. but i want to change background color which match my website theme. i tried with customized skin like Skin="Mytheme" Enableembeddedskins="false" , but no chance how to achieve

Any help appreciable.
Pavlina
Telerik team
 answered on 10 Mar 2009
1 answer
119 views
COPIED THIS OVER TO THE RADGRID FORUM


Hi

This is my aspx code for a RadDatePicker used in an Edit template on a RadGrid.

The problem is when I try to add new record the selected date doesn't exist and I get a cast error, I've tried an iif and isdbnull. but cant get it to work, can anyone help.

                                <div>

                                    <label class="gridlabel">Review Date:</label>

                                    <telerik:RadDatePicker  ID="txtReviewDate" runat="server" MinDate="2000-01-01" EnableEmbeddedSkins="False" Skin="Expert" EnableEmbeddedBaseStylesheet="False"  Width="100px" SelectedDate='<%# Eval("ReviewDate") %>' >

                                    <DateInput EnableEmbeddedSkins="False" LabelCssClass="radLabelCss_Expert" Skin="Expert" DateFormat="dd/MMM/yyyy"></DateInput>

                                    <Calendar EnableEmbeddedSkins="False" Skin="Expert" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x" FastNavigationNextImage="~/App_Themes/Expert/Calendar/fastNavRight.gif" FastNavigationPrevImage="~/App_Themes/Expert/Calendar/fastNavLeft.gif" NavigationNextImage="~/App_Themes/Expert/Calendar/arrowRight.gif" NavigationPrevImage="~/App_Themes/Expert/Calendar/arrowLeft.gif"></Calendar>

                                    <DatePopupButton CssClass="radPopupImage_Expert" HoverImageUrl="../App_Themes/Expert/Calendar/datePickerPopupHover.gif" ImageUrl="../App_Themes/Expert/Calendar/datePickerPopup.gif"/>

                                    </telerik:RadDatePicker>

                                </div>

Thanks

Andy

 

 

 

 

 

 

 

Daniel
Telerik team
 answered on 10 Mar 2009
1 answer
83 views
  <>how to apply userdefined skins for radgrid  ???
reply asap.....
Daniel
Telerik team
 answered on 10 Mar 2009
3 answers
264 views
Hi,

Is it possible to extend a RadGrid Server control using ASP.NET AJAX extender as it is for a standard ASP.net Server control (ExtenderControl-http://msdn.microsoft.com/en-us/library/bb386403.aspx)
Please let me know if there is any samples with extended server controls for custom behavior.

Thanks,
Sudesh
Pavlina
Telerik team
 answered on 10 Mar 2009
1 answer
136 views

Hi,

I am using CustomizingRadProgressAreaUI radUpload. Also I am using the UI from CustomizingRadUploadUI.
In the UI it is referring to the Removebutton Image.
aspx Code is as below:
<table width="100%" cellpadding="0" cellspacing="0">

 <tr><td>  

<rad:radupload SkinsPath="~/RadControls/Upload/Skins" id="Radupload1" runat="server" initialfileinputscount="1" />

 <rad:radprogressarea id="RadprogressArea1" runat="server" displaycancelbutton="True"></rad:radprogressarea>

 </td>

 <td>

 <div style="float:right;margin-right:9px;height:132px;width:250px;" class="module">

 <asp:label id="labelNoResults" runat="server" visible="True">No uploaded files yet</asp:label>

 <asp:repeater id="reportResults" runat="server" visible="False">

 <headertemplate>

 

Uploaded files:

<br /> </headertemplate>

<itemtemplate>'<%#DataBinder.Eval(Container.DataItem, "FileName")%>'

( '<%

 

#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>'

)<br /> 

</itemtemplate></asp:repeater>  

</div> </td></tr> </table>

 &nbsp;&nbsp;<asp:button id="buttonSubmit" class="RadUploadButton" runat="server" text="Submit" />
in .cs for handling UI of the RadUpload I have written code as below:

Radupload1.ControlObjectsVisibility = ControlObjectsVisibility.None;

 

//Radupload1.ControlObjectsVisibility = ControlObjectsVisibility.CheckBoxes;

Radupload1.ControlObjectsVisibility |= ControlObjectsVisibility.RemoveButtons;

 

//Radupload1.ControlObjectsVisibility |= ControlObjectsVisibility.ClearButtons;

Radupload1.ControlObjectsVisibility |= ControlObjectsVisibility.AddButton;

 //Radupload1.ControlObjectsVisibility |= ControlObjectsVisibility.DeleteSelectedButton;

 BindResults();

I have following question:
1) I want to change look and feel of the UI , bychanging positioning of the of the remove button in the same line where Add button.
2) Also, I want there should not be any Add button and when user will click on browse button and select any image then , this should automatically add new row at the bottom insted of user clicking on Add button. How can I achieve this?
3)The remove button which is at the right side of the browse button, I want to change the positioning of that button and want to place it at the left side.

How can I implement all above three.
Please Reply.

Paul
Telerik team
 answered on 10 Mar 2009
1 answer
183 views
Thank you for a wonderfull product !

I want to access a RadComboBox client-side that is nested inside a RadToolbar which is placed in the CommandItemTemplate of a RadGrid like this (simplified):

 

<telerik:RadGrid ID="RadGridInstalled">

 

    <

 

MasterTableView>
        <CommandItemTemplate>
            <telerik:RadToolBar ID="RadToolBarAddSoftware">

 

                <

 

Items>
                    <telerik:RadToolBarButton>
                        <ItemTemplate>
                            <telerik:RadComboBox ID="RadComboBoxAddSoftware">

To further complicate matters, the radgrid is placed in a usercontrol which is loaded from the main aspx page.

I need the client-side java-script to read the value from the RadComboBoxAddSoftware when a toolbar-button is clicked.

I hope you are able to help me.

Kind regards,

Ronnie

 

Max Petersen
Top achievements
Rank 1
 answered on 10 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?