Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
122 views
In trying to style my charts, the labels are usually squished together.  The same thing is visible in the bottom two demos on this link.

http://demos.telerik.com/ASPNET/Prometheus/Chart/Examples/DataBinding/Customization/DefaultCS.aspx

What is the best way to go about styling the chart so that the labels look nice and are properly placed and spaced?

Thanks.

-Angie
Giuseppe
Telerik team
 answered on 01 Sep 2008
2 answers
120 views
Hi,

I'm using an older version of your tools and right now I have no possible way of upgrading.  In your demos you can delete the schedules when you are in the month view, but with the version I'm using it won't let me click the 'x' on a schedule when I'm in the month view.  The other views work fine.  Did that not work in the older versions?  I just put the calendar on a test page, just with an id and runat=server and your demo code.
Alex Gyoshev
Telerik team
 answered on 01 Sep 2008
1 answer
93 views
Hi there,

I want to ident my textblocks for the Y axis by tabs. That means I want to have a structure from the left side. It looks like followed:

Part 1
    Part 1.1
    Part 1.2

But this is not possible by crating textblocks and set the aligned position:
yAxis[0].TextBlock.Text = "Part 1";  
yAxis[0].TextBlock.Appearance.Position.AlignedPosition = AlignedPositions.Left;  
 
yAxis[1].TextBlock.Text = "\tPart 1.1";  
yAxis[1].TextBlock.Appearance.Position.AlignedPosition = AlignedPositions.Left;  
 
yAxis[2].TextBlock.Text = "\tPart 1.1";  
yAxis[2].TextBlock.Appearance.Position.AlignedPosition = AlignedPositions.Left; 
It causes an ident between axis line and text and not between chart border and text.

How could I solve my problem?

Thanks Simon
Giuseppe
Telerik team
 answered on 01 Sep 2008
1 answer
99 views
Hi there,


Im currently using radtooltip with a templated databinded button, the event must check some and shows the tooltip, everything works ok, but when another button fires the event and the condition does not match the tooltip still appearing, I digg on the demos site and find this http://demos.telerik.com/ASPNET/Prometheus/ToolTip/Examples/ShowEvent/DefaultCS.aspx im trying to implement the js code described for that situation but the object SYS throws an exception, do you have any other solution for that bug,

thanks in advance

AV.

here is the code:

<telerik:RadGrid ID="rgPersonasBloqueadas" runat="server" AllowPaging="True" AllowSorting="True" 
        GridLines="None" ShowGroupPanel="True" OnGroupsChanging="rgPersonasBloqueadas_GroupsChanging" 
        OnPageIndexChanged="rgPersonasBloqueadas_PageIndexChanged"   
        OnSortCommand="rgPersonasBloqueadas_SortCommand"   
        onitemcommand="rgPersonasBloqueadas_ItemCommand"   
        onitemdatabound="rgPersonasBloqueadas_ItemDataBound">  
        <MasterTableView> 
            <RowIndicatorColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </ExpandCollapseColumn> 
            <Columns> 
                <telerik:GridTemplateColumn UniqueName="TemplateColumn">  
                    <ItemTemplate> 
                        <asp:Button ID="btnMostrarCliente" runat="server" CausesValidation="false" CommandName="Select" CommandArgument='<%# obtenerCriterio(Eval("Identificacion"),Eval("CodigoAlmacen"))%>' Text="..."/>                          
                        <telerik:RadToolTip ID="rttMensaje" runat="server" Skin="Vista" ManualClose="true" ContentScrolling="Auto" RelativeTo="Element" Width="250px" Height="50px" Sticky="true" IsClientID="true"></telerik:RadToolTip> 
                    </ItemTemplate> 
                </telerik:GridTemplateColumn>                  
            </Columns>              
        </MasterTableView> 
        <ClientSettings AllowDragToGroup="True">  
        </ClientSettings> 
        <FilterMenu EnableTheming="True">  
            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
        </FilterMenu> 
    </telerik:RadGrid>         
the code behind of item command
 protected void rgPersonasBloqueadas_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)  
    {  
        switch (e.CommandName)  
        {  
            case "Select":  
                GridDataItem item = e.Item as GridDataItem;  
                if (!clienteBloqueado(e.CommandArgument.ToString()))  
                {  
                    actualizarCache(e.CommandArgument.ToString());  
                    cambiarColor(e);  
                    RadWindow rnd = new RadWindow();  
                    rnd.ID = "rwInfoUsuario";  
                    rnd.Modal = true;  
                    rnd.VisibleOnPageLoad = true;  
                    rnd.Behaviors = WindowBehaviors.Close | WindowBehaviors.Move;  
                    rnd.Width = Unit.Pixel(800);  
                    rnd.Height = Unit.Pixel(600);  
                    rnd.NavigateUrl = "~/Paginas/InfoUsuario.aspx?ID=" + e.CommandArgument.ToString();  
                    rwmVentana.Windows.Add(rnd);  
                }  
                else if (item["UsuarioEnUso"].Text != HttpContext.Current.User.Identity.Name)  
                {                      
                    ((RadToolTip)e.Item.FindControl("rttMensaje")).TargetControlID = ((Button)e.Item.FindControl("btnMostrarCliente")).ClientID;  
                    ((RadToolTip)e.Item.FindControl("rttMensaje")).Text = "El usuario " + item["UsuarioEnUso"].Text + " se encuentra llamando actualmente a este cliente.";  
                    ((RadToolTip)e.Item.FindControl("rttMensaje")).Show();  
                    ((Button)e.Item.FindControl("btnMostrarCliente")).Enabled = false;  
                }                  
                break;  
        }  
    } 

Tervel
Telerik team
 answered on 01 Sep 2008
0 answers
102 views
Hello,

Is iCalendar or vCalendar files campatible with Lotus Notes & Groupwise?

Means can i able to import successfully iCalendar or vCalendar file from Lotus Notes or Groupwise?

Thanks in advance.


Hitesh
Hitesh
Top achievements
Rank 1
 asked on 01 Sep 2008
2 answers
222 views
hi
i am using rad window ajax Q1 with asp.net 3.5
i have code like this :

 <telerik:RadWindow ID="RadWindow1" runat="server" Height="510px"

OpenerElementID="Button1" Skin="Sunset" Width="400px" Animation="Fade" BackColor="#FFFF99">

somthing ...text

</telerik:RadWindow>

but when  rad window is opened on my page,  its content is blank.
i tested  it with ie7 & ff 3.
need help,
tnx

Georgi Tunev
Telerik team
 answered on 01 Sep 2008
1 answer
81 views
Hi,

Has RadControls 2008 Q2 SP1 been released and if so where can I download it.

Thnaks,

Ronan
Daniel
Telerik team
 answered on 01 Sep 2008
7 answers
161 views
hiya,

I have 2 buttons declared as follows:

<tr>
                <td colspan="3" style="text-align: left" valign="top">
                    <asp:Button ID="btnCreate" runat="server" OnClick="btnCreate_Click" Text="Update"
                        Font-Size="9pt" />&nbsp;<asp:Button ID="btnClear" runat="server" OnClick="btnClear_Click"
                            Text="Clear" Font-Size="9pt" Enabled="true" /></td>
            </tr>

When I add the formDecorator to the page, the buttons get squahed together, and I have to add additional "nbsp's"

Is there a way to stop this?

I thought I'd just have to drop the decorator on the page and it would conform with the html that is already in the aspx.

I'm using ie 7

many thanks,

yogi
Georgi Tunev
Telerik team
 answered on 01 Sep 2008
11 answers
307 views
Hi,
I have problem to find my textbox, how do I find it?
The code works when inserting but not when updating.
I'm getting: object reference not set to an instance of an object.
<Columns> 
         <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
                        <ItemStyle CssClass="MyImageButton" /> 
                    </telerik:GridEditCommandColumn> 
        <telerik:GridTemplateColumn HeaderText="Namn" UniqueName="Name"
        <ItemTemplate><asp:Label runat="server" ID="Name" Text='<%# Eval("Name") %>'></asp:Label></ItemTemplate
        <EditItemTemplate> 
            <asp:TextBox ID="Name" runat="server" Text='<%# Bind("Name") %>'></asp:TextBox> 
         <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="Name" 
                ErrorMessage="obligatorisk" runat="server" Text="*" Display="Dynamic" /> 
        </EditItemTemplate> 
        </telerik:GridTemplateColumn> 
        <telerik:GridCheckBoxColumn UniqueName="IsEnabled" HeaderText="Aktiverad" DataField="IsEnabled" /> 
    </Columns> 


protected void RadGrid1_UpdateCommand(object source, GridCommandEventArgs e) 
        { 
            GridEditableItem editedItem = e.Item as GridEditableItem; 
 
            Client c = (Client)e.Item.DataItem; 
            c.Name = ((TextBox)editedItem.FindControl("Name")).Text.Trim(); 
            c.IsEnabled = ((GridBoolColumnEditor)editedItem.EditManager.GetColumnEditor("IsEnabled")).Value; 
 
            try 
            { 
                ClientBL.SaveOrUpdate(c); 
            } 
            catch 
            { 
                Msg.Show("Fel uppstod."); 
            } 
        } 

Shinu
Top achievements
Rank 2
 answered on 01 Sep 2008
1 answer
126 views
Haven't had to deal with this issue, for quite some time, telerik or otherwise... but, it's rearing it's ugly head and I cannot figure out why--

Prior to doing a clean Vista64 install... I'd been running for 18+ months from an XP/Vista upgrade.. through many versions of Telerik controls, countless web apps, both file and project based, pre and post Vista-SP1, VS2005, vs2008-SP1... and never ran into this with Telerik controls.

After the clean-install of Vista64, all the updates/SP1, (skipped vs2005 this time)  only installed vs2008, SP1.  I then did the full exe install of 2008.2.823.. and began to work on an existing file-based web app.

All was fine.. NO issues for a couple days.. and then, for reasons unknown, the issue appeared.

No previous version conflicts.  I'm not using nested masters.  I've tried the Telerik declarations in web.config and/or in solo pages and/or content pages... with/without the chart dll... removed/readded config handlers, removed/readded controls... etc.
  After trying many things.. I closed all down.. rebooted.. renamed the folder the web is in so VS would see it as a "different" website... re-opened as new.. I get the same deal.

Oddly, I can create a new web app, drag in Telerik controls, add handlers, and no squigglies... so I suppose it's my app.. or web.config... or, what.. what else in the app could cause?  I took the working app web.config and merged with the other.. and issue still exists.

Any suggestions on what else to try?  What else could be causing?  I'm totally stumped.

Thanks for any tips!
David




Sebastian
Telerik team
 answered on 01 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?