Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
112 views
Hello,
I am having a bit of an issue with the rendering of my scheduler.  the area I am rendering it in is causing the header date(s) to be cut off.
Is there a way I can alter the format or css to compensate for the lack of space?  I see that there is a lot of space left of the date.  If I could even just move the date left a bit that would probably be enough.  I have attached an image to illustrate:
Peter
Telerik team
 answered on 14 Jul 2010
1 answer
133 views
I have ShowDropDownOnTextboxClick set to False, and as expected when the user sets focus to the text box nothing happens.

When the user types into the text box the first character typed correctly opens up the dropdown showing matching items, but the character does not appear in the text box.  Subsequent characters do appear.  Is this expected behaviour?

John
Veronica
Telerik team
 answered on 14 Jul 2010
2 answers
145 views
We had to move a website to a new server. We went from win2k iis 6 to win2k8 iis 7. Now, whenever I use the rad uploader I get a popup with this error.

Rad Upload Ajax callback error. Source url was not found:

Telerik.radUploadProgressHandler.ashx?RadUrid=004b9887-1c02...

Did you register the RadUploadProgressHandler in the web.config?

Please, see the help for more details: RadUpload for ASP.NET Ajax - 
Configuration - RadUploadProgressHandler

I saw this post http://www.telerik.com/community/forums/aspnet-ajax/upload/radupload-ajax-callback-error-source-url-returned-error-500.aspx and did what it had said but it didn't fix my problem. I have attached my web.config


Web Services
Top achievements
Rank 2
 answered on 14 Jul 2010
1 answer
223 views
  <table style="table-layout: fixed;" id="tblVisibility" runat="server">
                        <tr>
                            <td>
                                 Some Controls to add/update details.
     </td>
                        </tr>
                    </table>

                                <telerik:RadGrid ID="radGridStaffDetaills" AllowFilteringByColumn="false" runat="server"
                                    GridLines="None" AllowPaging="true" Height="150px" PageSize ="5" PagerStyle-Mode="NumericPages"
                                    AllowSorting="true" AutoGenerateColumns="false" EnableEmbeddedSkins="false">
                                    <ClientSettings EnableRowHoverStyle="true">
                                        <Scrolling AllowScroll="true" SaveScrollPosition="true"></Scrolling>
                                        <Selecting AllowRowSelect="true" />
                                        <ClientEvents OnRowSelected="rowSelected" />
                                        <ClientEvents OnCommand="radGridStaffDetaills_Command" />
                                    </ClientSettings>
                                    <MasterTableView TableLayout="Fixed" PagerStyle-Mode="NumericPages" CssClass="RadGrid_Web20"
                                        ClientDataKeyNames="Staff_Code">
                                        <Columns>
                                            <telerik:GridBoundColumn SortExpression="Staff_Code" UniqueName="Staff_Code" DataField="Staff_Code"
                                                HeaderText="Staff Code" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right"
                                                HeaderStyle-Wrap="false" ItemStyle-Wrap="false" Display="false" >
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="FirstName" DataField="FirstName" HeaderText="First Name"
                                                HeaderStyle-Wrap="false" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="LastName" DataField="LastName" HeaderText="Last Name"
                                                HeaderStyle-Wrap="false" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="Designation" DataField="Designation" HeaderText="Designation"
                                                HeaderStyle-Wrap="false" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="JoiningDate" DataField="JoiningDate" HeaderText="JoiningDate"
                                                HeaderStyle-Wrap="false" ItemStyle-Wrap="false" HeaderStyle-HorizontalAlign="Left"
                                                ItemStyle-HorizontalAlign="Left">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="Country_Name" DataField="Country_Name" HeaderText="Country"
                                                HeaderStyle-Wrap="false" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="County_Name" DataField="County_Name" HeaderText="County"
                                                HeaderStyle-Wrap="false" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="PostalCode" DataField="PostalCode" HeaderText="Post Code"
                                                HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left" HeaderStyle-Wrap="false"
                                                ItemStyle-Wrap="false">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="Telephone" DataField="Telephone" HeaderText="Telephone"
                                                HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left" HeaderStyle-Wrap="false"
                                                ItemStyle-Wrap="false">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="Mobile" DataField="Mobile" HeaderText="Mobile"
                                                HeaderStyle-Wrap="false" ItemStyle-Wrap="false" HeaderStyle-HorizontalAlign="Left"
                                                ItemStyle-HorizontalAlign="Left">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="Email" DataField="Email" HeaderText="Email"
                                                HeaderStyle-Wrap="false" ItemStyle-Wrap="false" HeaderStyle-HorizontalAlign="Left"
                                                ItemStyle-HorizontalAlign="Left">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="Department_Name" DataField="Department_Name"
                                                HeaderStyle-Wrap="false" Display="false" HeaderText="Department" HeaderStyle-HorizontalAlign="Left"
                                                ItemStyle-HorizontalAlign="Left">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="BusinessUnitId" DataField="BusinessUnitId"
                                                Display="false" HeaderText="BusinessUnitId" HeaderStyle-HorizontalAlign="Left"
                                                HeaderStyle-Wrap="false" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Left">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="CaseTypeId" DataField="CaseTypeId" Display="false"
                                                HeaderText="CaseTypeId" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                HeaderStyle-Wrap="false" ItemStyle-Wrap="false">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="CountyId" DataField="CountyId" Display="false"
                                                HeaderText="CountyId" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                HeaderStyle-Wrap="false" ItemStyle-Wrap="false">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="CountryId" DataField="CountryId" Display="false"
                                                HeaderText="CountryId" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                HeaderStyle-Wrap="false" ItemStyle-Wrap="false">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="SystemUserId" DataField="SystemUserId" Display="false"
                                                HeaderText="SystemUserId" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                HeaderStyle-Wrap="false" ItemStyle-Wrap="false">
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn SortExpression="Role_Id" DataField="Role_Id" Display="false"
                                                HeaderText="Role_Id" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                HeaderStyle-Wrap="false" ItemStyle-Wrap="false">
                                            </telerik:GridBoundColumn>
                                        </Columns>
                                    </MasterTableView>
                                </telerik:RadGrid>
                        

i have taken table above grid and which is having list on controls and i am hiding the table from button on a page so now i need to display grid with full space height so i m assigning control property Height=100% but its not working and if insated i am assigning in pixel as Height="400px" then its a fix height .So how can i set grid height flexible also i want scrolling automatically as i have added code in grid .



Dimo
Telerik team
 answered on 14 Jul 2010
5 answers
137 views
When double clicking on a scheduler, I want to be able to pass a value to the advanced form so it can use it to grab more values from the database when loading.

Can someone give me an example of how to pass a value to the advanced form? I have already set up properties etc in the advanced form, I'm just not sure how to pass it when double clicking a timeslot in the scheduler for appointment insert.

Thanks in advance.
Peter
Telerik team
 answered on 14 Jul 2010
3 answers
121 views
Hi,

I have started to use RadAjaxManager instead of ASP UpdatePanels to control what section of the page that should be updated.
I also know how to use the RadAjaxLoadingPanel in combination with AjaxSettings to show a loading symbol over different controls (see below).

<telerik:RadAjaxManager>
   <telerik:AjaxSetting AjaxControlID="btnDummy">
      <UpdatedControls>
         <telerik:AjaxUpdatedControl ControlID="pnlToUpdate" LoadingPanelID="RadAjaxLoadingPanel1" />
      </UpdatedControls>
   </telerik:AjaxSetting>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>

What I want to achieve now is to show the RadAjaxLoadingPanel loading symbol, but not over a specific control.
For example, I would like to be able to display a loading animation next to a button when pressing that button. How can this be achieved with the RadAjaxManager?

Thanks!
Dimo
Telerik team
 answered on 14 Jul 2010
2 answers
211 views
Hello ,
I have a radgrid and sqldatasource
in the database i have a unique key constraint to check if username  exist

When i am trying to add new record from radgrid  of  an existing username    i get this error

Violation of UNIQUE KEY constraint 'IX_Users'. Cannot insert duplicate key in object 'dbo.Users'.
The statement has been terminated


that s because i am using a unique key constraint

how can i handle this error to display in a Validation summary for example or a label
to ask user or tell him that username exist already and must insert another valid username

I tried to use  validationsettings property of rad grid but i failed please help
thanks for anyone who can solve my problem
sam
Top achievements
Rank 1
 answered on 14 Jul 2010
1 answer
166 views
Hi,

How I can remove the close (cross) button from the dock's top right position?
Also, how to customize (change/remove) the border of a RadDockZone (see attached jpg)?

Thanks
Pero
Telerik team
 answered on 14 Jul 2010
2 answers
174 views
I am in the early staging of using RadScheduler.  So someone please advise if I may not understand it the right way.
1. I am working a custom sql provider, and override following method:
public override IEnumerable<Appointment> GetAppointments(RadScheduler owner)
from my understanding, all appointments will be loaded, then in the DataBinding event, those appointment filtered by resources will be set to invisible.

In my case, the number of Appointment will be huge, I would like to filter the appointment by resouces in earlier staging, e.g. in the stored procedures.  How do I pass in the resources filter in GetAppointments method?

2. Can someone help me on my post at http://www.telerik.com/community/forums/aspnet-ajax/scheduler/user-based-recources.aspx ?
The demo stated that the resource will be cached once retrieved, but from what I saw, GetResourcesByType is being called everytime page is postback.  What is the internal cache machenism RadScheduler already inplemented?

Thanks

Li Zhou
Top achievements
Rank 1
 answered on 14 Jul 2010
2 answers
79 views
I am following http://www.telerik.com/help/aspnet-ajax/schedule_databindingimplementingaproviderthatsupportsmultivaluedresources.html to create a custom provider and I have some questions:

I want to create user based resources, i.g. each user can create their own resources, or "tag".  Each appointment can have one or multiple "tags".  User can sort appointment based on the custom "tags".

In the article, it states that
"Implement the GetResourcesByType method to supply the scheduler with a list of possible values given a resource type. This requires a query to the database to obtain the list of values. Once retrieved, the resources are cached. "

Is it possible to cache the resources based on a userID (a guid) ?  Do you provide any interface to override the Cache key?  What is the build-in Cache invalidation machenism?  If one user modifed his custom resources, how to make it not effect other users resourcs?

Thanks!

Li Zhou
Top achievements
Rank 1
 answered on 14 Jul 2010
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?