Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
199 views
What am I doing wrong here?  I am trying to get a formatted Date out of my datepicker in Javascript that is culture sensitive.



function getDate() {
 
    sender = $find('<%= RadDatePciker1.ClientID %>');
    var selectedDate = sender.get_selectedDate();
    var shortDatePattern = sender.get_calendar().DateTimeFormatInfo.ShortDatePattern;
    var formattedDate = sender.get_calendar().DateTimeFormatInfo.FormatDate(selectedDate, shortDatePattern);
    alert(formattedDate);
 
}
Dan
Top achievements
Rank 1
 answered on 25 May 2012
1 answer
129 views
How can we change the default backcolor when sorted?It should not show any color on sorting.
Princy
Top achievements
Rank 2
 answered on 25 May 2012
6 answers
139 views

Hi,

I have ASP.Net AJAX Q1 2012 and would like to know where I can get the non-minimized css files for use as a custom skin?

cheers

Gavin.

Gavin
Top achievements
Rank 1
 answered on 25 May 2012
2 answers
74 views
Is there a quick way to tell if an e.item is in detail view?  I'm having problem with ItemDataBound  and ItemCreated not finding the columns because it in detail view.  I just want to check if it's in detail view and skip the code.

Thank you in advance for you help.
Shinu
Top achievements
Rank 2
 answered on 25 May 2012
3 answers
109 views
Hi members
I have a Radgrid with Outlook Skin. I want disable selected row style and write a css for mouse move on rows(I want use Office2007 select row style for mouse move rows a grid with Outlook style)
Shinu
Top achievements
Rank 2
 answered on 25 May 2012
0 answers
125 views
i have a grid bound to an entitydatasource bound to a table holding documents. the grid is the detail grid of a master grid whose row selection selects the detail or child rows.

when i click on the gridattachmentcolumn link in the detail grid, the first file is downloaded regardless of the file selected. i would expect the file of the row clicked to be downloaded.

what might i be doing wrong? or is there is a defect?
tony
Top achievements
Rank 1
 asked on 25 May 2012
10 answers
231 views
i have a radgrid one of whose columns is:
<telerik:GridBinaryImageColumn DataField="Media" DataType="System.Byte"
FilterControlAltText="Filter column3 column" ImageHeight="150px"
ImageWidth="150px" ResizeMode="Fit" UniqueName="Media"
HeaderText="Media" >
</telerik:GridBinaryImageColumn>

it is bound to an EntityDataSource.

using out of the box grid functionality, i click edit, select a file, then click update.
then i get the following error message: Error while setting property 'Media': 'The property 'Media' cannot be set to a null value.'.

why? having selected a file i would expect the control to send the data to the database. insert workds ok.





tony
Top achievements
Rank 1
 answered on 24 May 2012
1 answer
101 views
Hello Telerik Team,

    I want to open a one insert form on doubleclick of the time slot say appointment. Is there any server side events which make it possible.
What i done is calling the radwindow from client side and try to open the page in it.

<telerik:RadScheduler ID="RadScheduler1" runat="server" DataDescriptionField="status"
            Height="500px" Width="1000px" DataEndField="endTime" DataKeyField="bike_ID" DataSourceID="SqlDataSource1"
            DataStartField="startTime" DataSubjectField="subject" EnableDescriptionField="True"
            OnClientAppointmentInserting="onAppointmentInserting" Skin="Vista" StartEditingInAdvancedForm="False"
            StartInsertingInAdvancedForm="true">


<script type="text/javascript">

        function onAppointmentInserting(sender, eventArgs) {
           
            var _slot = eventArgs.get_targetSlot();
     var oWindowAppnt=$find("<%= RadWindowAppointment.ClientID %>");
      oWindowAppnt.setSize(510, 490);
     var _startTime = _slot.get_startTime().format("MMM dd, yyyy HH:mm:ss");
     var _endTime = _slot.get_endTime().format("MMM dd, yyyy HH:mm:ss");
      var _employeeID = _slot.get_resource().get_key();
     oWindowAppnt.setUrl("appointment.aspx?appid=0&ST="+_startTime +"&ET="+_endTime);
    oWindowAppnt.add_close(OnClientCloseAppointment);
    oWindowAppnt.set_modal(true);
    oWindowAppnt.set_showContentDuringLoad(false);
    oWindowAppnt.set_visibleTitlebar(false);
    oWindowAppnt.set_visibleStatusbar(false);
    oWindowAppnt.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close +   Telerik.Web.UI.WindowBehaviors.Move);
    oWindowAppnt.show();
    eventArgs.set_cancel(true);  
  return false;
   }

     <telerik:RadWindow ID="RadWindowAppointment" runat="server"  >
    </telerik:RadWindow>

    </script>


can you please suggest any example or how to proceed the same.  I attached my appoitment .aspx page with this.

Thanks,
Malkesh
Peter
Telerik team
 answered on 24 May 2012
1 answer
89 views
Hi All,
     
       We are using Telerik scheduler for showing the appointments scheduled for the resources.
       But it the control is responding slowly to the user actions like scrolling, selecting the time slot or right click context menu etc.. 
       when there are 100 to 200 appointments and we are displaying only 5 resources.
       We are using Telerik dll versioned 2010.2.713.35.    
  . 
       Please let me know how we can resolve this issue.

Thanks
Raj
Peter
Telerik team
 answered on 24 May 2012
1 answer
150 views
I am trying to show my appointments in the month view without any background color.  I have found the CSS to remove the background image/sprite and can change the foreground color.  I cannot get rid of the default background color.  Is there a way to do this or match the cell color?  I want to have the appointment text for each catagory in a different color, but no background color or image.  Skin is set to Office2007.
Peter
Telerik team
 answered on 24 May 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?