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

Hi-

I'm trying to find a scheduling web control (ASP.NET, ASP.NET AJAX, or Silverlight) that will allow me to drag appointments to a different week than the one shown, when the control is in workweek or week view.  Are the demos not configured to allow this, or is this a limitation of the Telerik web scheduling control?

Thanks!
-Eric.

T. Tsonev
Telerik team
 answered on 10 Jul 2009
2 answers
200 views

 

 

Hi,

I am working on a RadGrid that has worked perfectly up till now, I use the event below to translate the true/false returned from the database into yes/no, I have other situtions where the translation maybe more complex e.g. a specific string to another string like 'yes' = 'this item has been delivered!'

where my problem is, is that I have introduced grid paging, now the first page is formatted correctly and all subsequent pages dont have the translations in them.

void
grdDelivery_ItemDataBound(object sender, GridItemEventArgs e) {

 

 

 

    if (e.Item is GridDataItem) {

 

 

 

        GridDataItem databounditem = e.Item as GridDataItem;

 

 

 

        if (bool.Parse(databounditem["deliveryclosed"].Text) == false) {

 

            databounditem[

 

"deliveryclosed"].Text = "No";

 

        }

 

else {

 

            databounditem[

 

"deliveryclosed"].Text = "Yes";

 

        }

    }

}

any help would be great.

Alex White
Top achievements
Rank 1
 answered on 10 Jul 2009
1 answer
200 views
I am trying to avoid retrieving all rows by setting an initial filter, but it is not working. The full list is returned. What is the correct FilterExpression syntax? Thank you for any help.

 

<telerik:RadGrid ID="RadGridCompany" runat="server" 
AllowFilteringByColumn="True" AutoGenerateColumns="False"
DataSourceID="EntityDataSourceCompany" GridLines="None" AllowPaging="true"
PageSize="100" onselectedindexchanged="RadGridCompany_SelectedIndexChanged"
onitemcommand="RadGridCompany_ItemCommand">
.
.  
            <MasterTableView DataSourceID="EntityDataSourceCompany" 
            FilterExpression = "(it.[OrganizationName] == 'Non Existent')">
                <RowIndicatorColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                </RowIndicatorColumn>

                <ExpandCollapseColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridButtonColumn
                        CommandName="Select"
                        Text="Select"
                        UniqueName="Select">
                        <HeaderStyle Width="10%" />
                    </telerik:GridButtonColumn>
                    <telerik:GridBoundColumn DataField="OrganizationName" HeaderText="Company Name" 
                        ReadOnly="True" SortExpression="OrganizationName" UniqueName="OrganizationName"
                        AutoPostBackOnFilter="true" CurrentFilterFunction="StartsWith"  FilterControlWidth="250px" >
                        <HeaderStyle Width="90%" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="OrganizationID" Display="False"
                        HeaderText="Organization ID" ReadOnly="True" SortExpression="OrganizationID"
                        UniqueName="OrganizationID">
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>

.
.
<asp:EntityDataSource ID="EntityDataSourceCompany" runat="server"
ConnectionString="name=LQDModel" DefaultContainerName="LQDModel"
EntitySetName="Organization"  OrderBy="it.OrganizationName"
Select="it.[OrganizationName], it.[OrganizationID]">
</asp:EntityDataSource>

Tsvetoslav
Telerik team
 answered on 10 Jul 2009
5 answers
122 views
Is it possible to hide (not show)  a specific day (for example friday) in the week view. The result should be a week with 6 days (no friday).
T. Tsonev
Telerik team
 answered on 10 Jul 2009
1 answer
139 views
Hi,
I try moving my scheduler to be based on WebService, and group by resource
IT IS NOT WORKING AT ALL,
I don't see my appointments once in group by mode
the start/end time are display without any relation to my setting, and it crashes....

And once in group mode I get the following errors
: 'rows.0.cells' is

0.tBodies.0.rows[...].cells' is null





I tried the following to code:

     <telerik:RadScheduler ID="RadScheduler1" runat="server" HoursPanelTimeFormat="htt"
            Skin="Office2007" ValidationGroup="RadScheduler1" ShowFooter="false"
            SelectedView="DayView" DayEndTime="23:00:00" DayStartTime="00:00:00"
             GroupBy="Rooms" >
            <Localization AdvancedAllDayEvent="All day"></Localization>
            <AdvancedForm DateFormat="M/d/yyyy" TimeFormat="h:mm tt"></AdvancedForm>
            <WebServiceSettings Path="SchedulerData.asmx" ResourcePopulationMode="ServerSide" />
            </telerik:RadScheduler>
            
            
            
             <telerik:RadScheduler ID="RadScheduler1" runat="server" HoursPanelTimeFormat="htt"
                    Skin="Office2007" ValidationGroup="RadScheduler1" ShowFooter="false"
                    SelectedView="DayView" DayEndTime="23:00:00" DayStartTime="00:00:00"
                      >
                    <Localization AdvancedAllDayEvent="All day"></Localization>
                    <AdvancedForm DateFormat="M/d/yyyy" TimeFormat="h:mm tt"></AdvancedForm>
                    <WebServiceSettings Path="SchedulerData.asmx" ResourcePopulationMode="ServerSide" />
                    <DayView DayEndTime="23:00:00" DayStartTime="00:00:00" GroupBy="Rooms" />
            </telerik:RadScheduler>

I'm I doing something wrong?
I'm using version 2009, 2, 701, 35


T. Tsonev
Telerik team
 answered on 10 Jul 2009
1 answer
78 views
Just want to check that my understanding is correct from what I (think!) see happening...

1 - If I handle the _ItemDataBound event in a grid and set the DataItem.Text property, whatever I set there gets output and anything that would have been output had I not fielded the event is discarded

2 - If I handle the _ItemDataBound event in a grid and do something like DataItem.Controls.Add(...)  the rest of the controls have not yet been set and the content that would have been displayed using the DataItem.Text property is discarded

Not sure if I've explained that clearly enough but perhaps someone can point me at chapter and verse on exactly how one should edit/set/append values in grid cells at runtime in code?

Thanks, Mark
Tsvetoslav
Telerik team
 answered on 10 Jul 2009
2 answers
91 views
Hello,

if I understand your Examples in the right way, there is no possibility to working with values in ComboboxItems, when  I declare them only in Marcup Code?

Why you make this change ???

I need to work with a declaration like this... now I need to fill all serverside.. to getting the selected value on serverside ...


 
  <telerik:RadComboBox ID="ddlColor"  Width="100px" Skin="Default" runat="server"
                            <Items> 
                                <telerik:RadComboBoxItem Value="" Text="Alle Farben" /> 
                                <telerik:RadComboBoxItem Value="1" Text="s/w" /> 
                                <telerik:RadComboBoxItem Value="0" Text="Farbe" /> 
                            </Items> 
                        </telerik:RadComboBox> 



Is there a Reason for this behavior???

Best regards

Fabian

Fabian
Top achievements
Rank 1
 answered on 10 Jul 2009
1 answer
110 views
On my development server everything works fine, but when I deploy the app to a different server, the Update Column ceases to work: clicking on it does nothing.  Any ideas what could be going wrong?  This occurs in all browsers, and when the page loads in IE it says Error on Page in the bottom.  There is no other javascript running on the page, and I am using a radscriptmanager & radajaxmanager.  Thanks.
Veli
Telerik team
 answered on 10 Jul 2009
5 answers
105 views

I am facing an issue while using RadUpload control.
The control Select file button gets disabled and is not available to user at times. This happens randomly and there is no fixed pattern. We have the following code available on all our pages. 

 

protected

 

void _DisablePageCache()

 

{

Response.Expires = -1;

Response.ExpiresAbsolute =

DateTime.Now.AddHours(-48);

 

Response.Cache.SetCacheability(HttpCacheability.Private);

Response.CacheControl =

"no-cache";

 

Response.Cache.SetNoStore();

}

 

The resolution to this takes us to clean browser cache which rectifies the issue and allows user to again upload by clicking on select button.  An urgent solution to this problem will help a lot.

Thanks
Bhawesh

 

Veselin Vasilev
Telerik team
 answered on 10 Jul 2009
3 answers
179 views
Hi all,

I create a website with lot of telerik controls like radeditor and radcombobox.

I create a part of a "big" website in a separated project, when all works, i inports it into the big project.

I work on VS2005, the big project was on framework1 updated in framework2 and the little project in franmework2.

So my problen is : when i test the little project, all works, when i import it into the big project, in a first time, all works, but when i open a panel or i refresh page, all teleriks controls are locked ...

I can't collapse combobox, i can't write into radeditor ...

Do you have any idea ??

Thank you. Best regards !

ps : sorry for my bad english, i'm french.
Atanas Korchev
Telerik team
 answered on 10 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?