Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
105 views
Greetings,

Multiple appointments with the exactly the same start and end date/time (example: 6/2/08 12:00PM) only shows the last appointment rendered.  This occurs in the week and day view. (Note: The appointments are shown in the month and timeline view correctly with the same date/time). 

Whenever I add a minute to the end time (example: 6/2/08 12:01PM) the appointments are shown correctly in all views.

Is this by design and do I need to make sure all my appointments are not the same date/time?

thanks in advance

annette   
Plamen
Telerik team
 answered on 03 Sep 2011
8 answers
264 views
I have a Grid with a hierarchy with a single nested GridTableView. I have specified column widths using the recommended approach of setting the HeaderStyle-Width for each column.

The column widths are respected when there is no CommandItem bar displayed (CommandItemDisplay="None") or the CommandItem bar is on the bottom (CommandItemDisplay="Bottom").  However, as soon as the CommandItem bar is displayed on the top (CommandItemDisplay="Top"), column widths are no longer respected and can no longer be resized as well.

Bug?

Thank you,

Barry

EDIT:
This appears to be happening in Google Chrome (10.0.648.204).  The column widths are rendered correctly in IE8 and FireFox 4. I have not tested in Safari.
Pavlina
Telerik team
 answered on 03 Sep 2011
3 answers
138 views
Hi

If I have the following SQL:

SELECT CAST
(
    (
        CAST(10549 AS FLOAT) / CAST(93020 AS FLOAT) * 100
    )
    AS DECIMAL (10,2)
)
AS BobsPerAlice

I can expect the following output:

BobsPerAlice
11.34

I'd like to replicate this in a GridCalculatedColumn and this is what I came up with:

<telerik:GridCalculatedColumn
    DataType="System.Double"
    HeaderText="Bobs"
    UniqueName="Bobs"
    DataFields="Bobs, Alice"
    Expression="{0} / {1} * 100"
    FooterText="Bobs / Alice: "
    Aggregate="Sum">
</telerik:GridCalculatedColumn>

Unfortunately, the rows I get contain zeros for their values as does the footer item, like:

Bobs
0
0
0
...
Bobs / Alice: 0

"Bob" and "Alice" are of database type INT. Working with INTs will not work though.

What am I doing wrong?

Richard
Radoslav
Telerik team
 answered on 03 Sep 2011
3 answers
141 views
I have to two Rad Grids functioning as master details linked by this select parameter,  I need to make multiple selection on both grids , the problem I have is the multiple selection in the master grid is not being retained in the detail grid on post back. How can I make multiple selection in the master grid and filter by that multiple selection in the details grid?
the experience I am getting right now is the selection selection is used for the controlparameter value but I need to use all the selected values?
  <SelectParameters>
         <asp:ControlParameter ControlID="RadGrid1"  Name="Region" PropertyName="SelectedValue" Type="String" DefaultValue="All" /> 
   </SelectParameters>  
Thanks
Tsvetina
Telerik team
 answered on 03 Sep 2011
1 answer
89 views
Hello!

I used the code( tabs and grid) in sales dashboard. Now I want to record the three buttons (search, reset, clear) clicked state so that I can use it in the user control . When three buttons clicked then I will always get data from database and for other postbacks I only use session variable.

How could I do it? I used session to record the clicked state and pass it to usercontrol property. but I don't think it will work as when other postback the session still hold the clicked( true) value.

Thanks for any help in advance!

Amy
Tsvetina
Telerik team
 answered on 03 Sep 2011
1 answer
79 views
I have followed the instructions on http://www.telerik.com/help/aspnet-ajax/radformdecorator-creating-custom-skins.html to create a custom stylesheet but it does not seem to be applying. I have created a directory called CustomSkins and copied the FormDecorator.Forest.css file and the FormDecorator directory to it, just as a test I added a link to the css and set EnableEmbeddedSkins=False. Shouldn't that pick up and apply the Forest colors and look the same as if embedded skins was turned on and selected Forest. But in my page I'm getting no stylesheet settings. What we want to be able to do is us all the telerik styles but add items to the telerik stylesheet to handle things we have already incorporated in our apps.

<

head runat="server">

 <title></title>

 <link href="CustomSkins/FormDecorator.Forest.css" rel="stylesheet" type="text/css" />

 </head>

 <body>

 

 <form id="form1" runat="server">

 <div>

 <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>

 <telerik:RadSkinManager ID="radskinMgr" runat="server" ShowChooser="true"></telerik:RadSkinManager>

 <telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server" DecoratedControls="All" EnableEmbeddedSkins="false" />

 <br /><br />

 <h2>This is a test page for new styles and preferences - COMING SOON IN 2011!!</h2>

 <hr />

 <h1>ODE STYLES</h1>

 <h1 class="announcement">TEXT Test for H1 - ODE Class ANNOUNCEMENT</h1>

 <h2 class="sidebar">TEXT Test for H2 - ODE Class SIDEBAR</h2>

 <h3 class="odehilite">TEXT Test for H3 - ODE Class ODEHILITE</h3>

 <b class="small">TEXT Test for ODE Class SMALL</b><br />

 <b class="larger">TEXT Test for ODE Class LARGER</b><br />

 <b class="largest">TEXT Test for ODE Class LARGEST</b>

 <h4>Text for H4</h4>

 </div>

 </form>

 </body>

 

Bozhidar
Telerik team
 answered on 03 Sep 2011
3 answers
171 views

I seem to be unable to get the OnImageChanged server-side event to fire ... tried with an empty project with default.aspx content:

 

<div>
    <telerik:RadImageEditor ID="RadImageEditor1" runat="server" OnImageChanged="RadImageEditor1_ImageChanged"
        ImageUrl="~/images/160004.jpg">
    </telerik:RadImageEditor>
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label><telerik:RadButton
        ID="RadButton1" runat="server" Text="PostBack" AutoPostBack="true">
    </telerik:RadButton>
</div>

And in the code-behind:

 

protected void RadImageEditor1_ImageChanged(object sender, Telerik.Web.UI.ImageEditorEventArgs args)
    {
        Label1.Text = System.DateTime.Now.ToString();
    }

It seems the Label's text never gets updated ...

 

 


What am I doing wrong here ?

 

Luc Cappaert
Top achievements
Rank 2
 answered on 03 Sep 2011
8 answers
133 views
Hello:

i have this issue:
I have one RadAjaxManager on my .aspx page like this:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
<telerik:AjaxSetting AjaxControlID="LnkGrabar">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="GrdDetalle" />
                <telerik:AjaxUpdatedControl ControlID="TxtFecha" />
                <telerik:AjaxUpdatedControl ControlID="TxtProducto" />
                <telerik:AjaxUpdatedControl ControlID="TxtOperacion" />
                <telerik:AjaxUpdatedControl ControlID="TxtCanastas" />
                <telerik:AjaxUpdatedControl ControlID="TxtBines" />
                <telerik:AjaxUpdatedControl ControlID="TxtLbsNetas" />
                <telerik:AjaxUpdatedControl ControlID="CboProducto" />
                <telerik:AjaxUpdatedControl ControlID="CboOperacion" />
                <telerik:AjaxUpdatedControl ControlID="TxtObservacion" />                               
                <telerik:AjaxUpdatedControl ControlID="TxtBoleta" />       
                <telerik:AjaxUpdatedControl ControlID="LblMensaje" />
            </UpdatedControls>
        </telerik:AjaxSetting>
         
    </AjaxSettings>
</telerik:RadAjaxManager>

and I open a popup windowd with this:

Dim sb As New StringBuilder
sb.Append("<script>")
sb.Append("window.open('http://msdn.microsoft.com', '', '');")
sb.Append("</scri")
sb.Append("pt>")
 
 
ClientScript.RegisterStartupScript(Me.GetType, "test", sb.ToString())

but the page dont open
only when i remove the telerik:RadAjaxManager it's open

please help me!!
thanks in advance
Hector Hernandez
Top achievements
Rank 2
 answered on 03 Sep 2011
9 answers
541 views
I have a RadGrid which currently allows for uploading an image from the local machine, and after which it displays in the grid. The image itself is stored in the database. Would it be possible to inject the ImageEditor control into this sequence so people could essentially upload their picture - make an edit if necessary - and then have the grid store the edited image to the database as it currently does?
Andres Calvete
Top achievements
Rank 1
 answered on 02 Sep 2011
2 answers
146 views
Hello,

I have been trying to modify the z-index of the dialog box for cropping without success. Can you point me the right css class or way to do this? right now the editor is in a control with a z-index of 100001 and therefore when the crop button is pressed the dialog shows behind the editor.

Thanks
Andres Calvete
Top achievements
Rank 1
 answered on 02 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?