Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
108 views

hi

This is the CSS for the monthview  and how do i have borders around an appointment?

  .rsShowMore
{
   display: none !important;
}
     
      .RadScheduler .rsMonthView .rsAptContent
    {
            position: static !important;
            height: auto !important;
           
     }
 .rsMonthView .rsWrap  
     {  
        height: 50px !important;
      
     }  
     .rsMonthView .rsDateWrap  
     {  
        height: 24px !important;
      
     }  
     .rsMonthView .rsLastWrap   
     {  
        height: 24px !important;
       
          
     }  
     .rsMonthView .rsApt  
     {  
        height: 48px !important;
      
     }  

.RadScheduler .rsMonthView .rsAptContent
{
    min-height: 35px;
    border:1px;
}

Ivana
Telerik team
 answered on 07 Mar 2012
1 answer
813 views
Greetings,
I'm currently facing a problem while trying to populate my grid.
Its datasource is basically an Object Data Source like this:

    <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="ObjectDataSource1">
<MasterTableView AutoGenerateColumns="False" DataSourceID="ObjectDataSource1">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
    <Columns>
        <telerik:GridBoundColumn DataField="TitleChoiceIncident"
            HeaderText="TitleChoiceIncident" ReadOnly="True"
            SortExpression="TitleChoiceIncident" UniqueName="TitleChoiceIncident">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="ValueChoiceIncident"
            HeaderText="ValueChoiceIncident" ReadOnly="True"
            SortExpression="ValueChoiceIncident" UniqueName="ValueChoiceIncident">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idAgir" DataType="System.Int32"
            HeaderText="idAgir" SortExpression="idAgir" UniqueName="idAgir">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idUtilisateur" DataType="System.Int32"
            HeaderText="idUtilisateur" SortExpression="idUtilisateur"
            UniqueName="idUtilisateur">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idEmetteur" DataType="System.Int32"
            HeaderText="idEmetteur" SortExpression="idEmetteur" UniqueName="idEmetteur">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idTypeAction" DataType="System.Int32"
            HeaderText="idTypeAction" SortExpression="idTypeAction"
            UniqueName="idTypeAction">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idEntreprise" DataType="System.Int32"
            HeaderText="idEntreprise" SortExpression="idEntreprise"
            UniqueName="idEntreprise">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idFamille" DataType="System.Int32"
            HeaderText="idFamille" SortExpression="idFamille" UniqueName="idFamille">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idProjet" DataType="System.Int32"
            HeaderText="idProjet" SortExpression="idProjet" UniqueName="idProjet">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idGroupeContact" DataType="System.Int32"
            HeaderText="idGroupeContact" SortExpression="idGroupeContact"
            UniqueName="idGroupeContact">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idOrdinateur" DataType="System.Int32"
            HeaderText="idOrdinateur" SortExpression="idOrdinateur"
            UniqueName="idOrdinateur">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idParent" DataType="System.Int32"
            HeaderText="idParent" SortExpression="idParent" UniqueName="idParent">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idEtatIncident" DataType="System.Int32"
            HeaderText="idEtatIncident" SortExpression="idEtatIncident"
            UniqueName="idEtatIncident">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idSousCategorie" DataType="System.Int32"
            HeaderText="idSousCategorie" SortExpression="idSousCategorie"
            UniqueName="idSousCategorie">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="date" HeaderText="date"
            SortExpression="date" UniqueName="date">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="heure" HeaderText="heure"
            SortExpression="heure" UniqueName="heure">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="durée" HeaderText="durée"
            SortExpression="durée" UniqueName="durée">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="priorite" DataType="System.Int32"
            HeaderText="priorite" SortExpression="priorite" UniqueName="priorite">
        </telerik:GridBoundColumn>
        <telerik:GridCheckBoxColumn DataField="blocage" DataType="System.Boolean"
            HeaderText="blocage" SortExpression="blocage" UniqueName="blocage">
        </telerik:GridCheckBoxColumn>
        <telerik:GridCheckBoxColumn DataField="fait" DataType="System.Boolean"
            HeaderText="fait" SortExpression="fait" UniqueName="fait">
        </telerik:GridCheckBoxColumn>
        <telerik:GridCheckBoxColumn DataField="facturable" DataType="System.Boolean"
            HeaderText="facturable" SortExpression="facturable" UniqueName="facturable">
        </telerik:GridCheckBoxColumn>
        <telerik:GridCheckBoxColumn DataField="alerterAgir" DataType="System.Boolean"
            HeaderText="alerterAgir" SortExpression="alerterAgir" UniqueName="alerterAgir">
        </telerik:GridCheckBoxColumn>
        <telerik:GridBoundColumn DataField="dateRappel" DataType="System.DateTime"
            HeaderText="dateRappel" SortExpression="dateRappel" UniqueName="dateRappel">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="descriptionAgir"
            HeaderText="descriptionAgir" SortExpression="descriptionAgir"
            UniqueName="descriptionAgir">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="cheminFichier" HeaderText="cheminFichier"
            SortExpression="cheminFichier" UniqueName="cheminFichier">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="objet" HeaderText="objet"
            SortExpression="objet" UniqueName="objet">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="lieu" HeaderText="lieu"
            SortExpression="lieu" UniqueName="lieu">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="dateSaisit" DataType="System.DateTime"
            HeaderText="dateSaisit" SortExpression="dateSaisit" UniqueName="dateSaisit">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="dateAgir" DataType="System.DateTime"
            HeaderText="dateAgir" SortExpression="dateAgir" UniqueName="dateAgir">
        </telerik:GridBoundColumn>
        <telerik:GridCheckBoxColumn DataField="isAgenda" DataType="System.Boolean"
            HeaderText="isAgenda" SortExpression="isAgenda" UniqueName="isAgenda">
        </telerik:GridCheckBoxColumn>
        <telerik:GridCheckBoxColumn DataField="isAgendaPerso" DataType="System.Boolean"
            HeaderText="isAgendaPerso" SortExpression="isAgendaPerso"
            UniqueName="isAgendaPerso">
        </telerik:GridCheckBoxColumn>
        <telerik:GridCheckBoxColumn DataField="isIncidentGen" DataType="System.Boolean"
            HeaderText="isIncidentGen" SortExpression="isIncidentGen"
            UniqueName="isIncidentGen">
        </telerik:GridCheckBoxColumn>
        <telerik:GridBoundColumn DataField="dateDebut" DataType="System.DateTime"
            HeaderText="dateDebut" SortExpression="dateDebut" UniqueName="dateDebut">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="dateEtatIncident"
            DataType="System.DateTime" HeaderText="dateEtatIncident"
            SortExpression="dateEtatIncident" UniqueName="dateEtatIncident">
        </telerik:GridBoundColumn>
        <telerik:GridCheckBoxColumn DataField="isPause" DataType="System.Boolean"
            HeaderText="isPause" SortExpression="isPause" UniqueName="isPause">
        </telerik:GridCheckBoxColumn>
        <telerik:GridBoundColumn DataField="idTypeDemande" DataType="System.Int32"
            HeaderText="idTypeDemande" SortExpression="idTypeDemande"
            UniqueName="idTypeDemande">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="TempsEstime" HeaderText="TempsEstime"
            SortExpression="TempsEstime" UniqueName="TempsEstime">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Acceptation" HeaderText="Acceptation"
            SortExpression="Acceptation" UniqueName="Acceptation">
        </telerik:GridBoundColumn>
        <telerik:GridCheckBoxColumn DataField="Accord" DataType="System.Boolean"
            HeaderText="Accord" SortExpression="Accord" UniqueName="Accord">
        </telerik:GridCheckBoxColumn>
        <telerik:GridBoundColumn DataField="DerniereDateModif"
            DataType="System.DateTime" HeaderText="DerniereDateModif"
            SortExpression="DerniereDateModif" UniqueName="DerniereDateModif">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="idExchange" HeaderText="idExchange"
            SortExpression="idExchange" UniqueName="idExchange">
        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn AllowFiltering="false" UniqueName="ImageColumnValider">
                    <ItemTemplate>
                        <asp:ImageButton ID="ImageButtonValidation" runat="server" ImageUrl="~/img/validation.gif"
                            CommandName="Submit" CommandArgument='<%#Eval("idAgir")%>' ToolTip="Valider le ticket"
                            OnClick="Submit_Click" OnClientClick="return confirm('Êtes vous sûr de vouloir valider ce ticket?');" />
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn AllowFiltering="false" UniqueName="ImageColumnDecliner">
                    <ItemTemplate>
                        <asp:ImageButton ID="ImageButtonDecliner" runat="server" ImageUrl="~/img/croix.png"
                            CommandName="Decline" CommandArgument='<%#Eval("idAgir")%>' ToolTip="Décliner la proposition"
                            OnClick="Decline_Click" OnClientClick="return confirm('Êtes vous sûr de vouloir décliner la proposition?');" />
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
    </Columns>
</MasterTableView>
 
<HeaderContextMenu EnableAutoScroll="True"></HeaderContextMenu>
    </telerik:RadGrid>
 
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
        OldValuesParameterFormatString="original_{0}"
        SelectMethod="GetNewAgirsByClient" TypeName="DBAccess.DAOAgir">
        <SelectParameters>
            <asp:SessionParameter Name="idContact" SessionField="contact" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>

I get this error. I don't understand why.
Thanks in advance for your help.

Antonio Stoilkov
Telerik team
 answered on 07 Mar 2012
1 answer
63 views
I just switched a fairly large, 3-year-old application to the latest version of the Ajax controls.  One of the primary screens uses a RadGrid to display search results.  After switching to the new release (we had been using 2010.3.1717.40) the RadGrid now shows a 17px wide gap on the right side of the grid (see attached).  In investigating where this was coming from, I ran the IE9 Web Developer Tools, which shows a "margin-right: 17px" on the RadGridHeader div.  Here's the HTML that shows in Web Developer Tools:
<div class="rgHeaderDiv" id="ctl00_cphDefault_RadGrid1_GridHeader" style="width: 715px; overflow: hidden; margin-right: 17px;" _events="[object Object]">
If I disable the margin-right: 17px the grid aligns perfectly.  However, I can't figure out where this is being set?  How do I change this?  I searched my entire solution and I don't have any file in it that contains that text.  However, I did find it when viewing the Telerik.Web.UI.WebResource.axd file in Web Developer Tools.  So I have to assume it's coming from there.  Please let me know how to fix this.  

Thanks for your help!
Eddie
Tsvetina
Telerik team
 answered on 07 Mar 2012
2 answers
92 views
Im using the RadWindow in an application.  Can a child window send information to a control in the parent window (like a textbox)  on the client side while the child window is still open ?
rdmptn
Top achievements
Rank 1
 answered on 07 Mar 2012
0 answers
53 views
Hi,

I have a RadTreeView control which i am loading the tree with Load On Demand option. I have to implement search functionality(text search) in this case.

Problem is as i am using load on Demand i am getting the node details on click of the + symbol, so it would not search correctly for the child node which were not retrieve yet.

Is there any simple way to do this.

Thanks in advance.
Naga Jyothi
Top achievements
Rank 1
 asked on 07 Mar 2012
1 answer
74 views
Hi. I have run the installation on SharePoint 2010 Foundation. However when I preview any of the web-parts the SharePoint page fails. We simply want to integrate the RadGridView component into our portal. Could you point us in the right direction. Regards Paul
Maya
Telerik team
 answered on 07 Mar 2012
3 answers
117 views
Hi Friends,

  • We done paging for rad list view by Rad Data Pager. But in Rad Grid It not works. If any samples Please forward.
  • Without Rad Data Pager, I got some links but I need like the image i attached.

Thanks


Shinu
Top achievements
Rank 2
 answered on 07 Mar 2012
5 answers
396 views
I am using the Telerik RadChart (Q3 2009) with a DotNetNuke installation (5.1.4), in a custom module.  Everything has been working fine, but today I noticed that I'm getting a "Error loading RadChart Image" error message on my module.  I have both a development and a prod environment.  Development is a Windows 2008 R2 server (IIS 7.5), and Prod is a Windows 2003 (IIS 6) box.  The web.config files are identical, and everything works fine in dev, but not in prod (as is always the case).

In <system.webserver> <handlers>, I have:

<add name="ChartImage_axd" verb="*" preCondition="integratedMode" path="../../ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" />

and also tried <add name="ChartImage_axd" verb="*" preCondition="integratedMode" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" />  

and in <system.web> I have:

<add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

In my code, I also have a line that reads: RadChart1.HttpHandlerUrl = ResolveUrl("ChartImage.axd")

and I've also tried setting UseSession to false, and setting a temporary folder.  This produced exactly the same results, however, I did see the chart images being created in my temp folder.

I'm not sure what I'm missing.. any help is greatly appreciated!





Chakrapani
Top achievements
Rank 1
 answered on 07 Mar 2012
1 answer
63 views
We have a radgrid that has two columns that may have very long strings.  If the resize bar in the header is double clicked to size either of these columns to the contents, some of the other columns disappear entirely.  This only happens if the string in one of the cells is wider than the screen.  A horizontal scroll bar appears, but even when scrolled from end to end, some of the columns are completely missing.

Any thoughts?
Pavlina
Telerik team
 answered on 07 Mar 2012
1 answer
80 views
Hi all,
  I want to store the ID of each row which can be retrieved on the client side. At the same time, it is not shown to  the user. How to implement this?
Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 07 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?