Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
545 views
Hi,

I need a way to know which column the current item in ItemCreated is part of.

Essentially, I want to be able to do this:

Dim dctLocked as Dictionary(Of String, Boolean)
.
.
.
CType(e.Item, GridDataItem).Enabled = dctLocked(CurrentColumnUniqueName)

Where CurrentColumnUniqueName is a variable containing the current column unique name somehow.

Is there any way to do this?

Thanks

Daniel
Princy
Top achievements
Rank 2
 answered on 16 Aug 2010
1 answer
60 views
We are way behind in the telerik upgrade and want to upgrade from Q2 2007 controls to the Q2 , 2010. Do i have to go through each level of upgrade or can I copy the latest alone. Anyone done this ? Need some direction. I already updated the solution from .net 2.0 to 4.0. Any input appreciated.
Thanks
Shinu
Top achievements
Rank 2
 answered on 16 Aug 2010
2 answers
131 views
Is there a way to add dynamic controls in the RadDock?

I am trying to add dynamic controls in a raddock, but unfortunately the controls I added are not put inside the dock area, but below it.

So in my example, I have created a label, "Tempo", inside my raddock during design time.

During page_init, I tried adding more labels with values of "Ant", "Baboon", "Cat", "Dinosaur"..., but all of them are created not inside the colored area of the dock.

Why is this happening? Is there a way to get my dynamic controls within the (colored) area of the dock?

I have attached the screenshot of the output.
blue
Top achievements
Rank 1
 answered on 16 Aug 2010
0 answers
66 views
*Removed, support ticket instead*
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 16 Aug 2010
7 answers
233 views
Hi there,

We have upgraded our RAD Editor to v 5.7.3.0 and are having some problems with the paragraph styles. This was not happening prior to upgrading. We are using IE 8 browser.

There are no problems applying the paragraph styles (H1, H2 etc), however, if we make some text H1 for instance, then change it  back to Normal, inline styles are inserted into the code which then affects the use of the CSS styles within RAD Editor.

To better demonstrate, here is an example...

I have created 2 paragraphs in the Design part of the RAD Editor and here is what is displayed in the HTML part:
<p>This is paragraph one</p>
<p>This is paragraph two</p>

Now I apply Heading 1 paragraph style to the first paragraph. This is what is displayed in the HTML part:
<h1>This is paragraph one</h1>
<p>This is paragraph two</p>

So far, this all looks correct. Now I want to remove Heading 1 from paragraph 1, so I select Normal as the paragraph style. This is what happens in the HTML:
<p style="margin-top: 0pt; font-weight: normal; font-size: 9pt; margin-bottom: 10pt; color: #000000; font-style: normal; font-family: verdana; font-variant: normal;">This is paragraph one</p>
<p>This is paragraph two</p>

From here, any CSS styles applied to the whole paragraph do not work. The CSS styles are inserted as a class, however the inline style overides the class style. For example:
<p class="bold" style="margin-top: 0pt; font-weight: normal; font-size: 9pt; margin-bottom: 10pt; color: #000000; font-style: normal; font-family: verdana; font-variant: normal;">This is paragraph one</p>
<p>This is paragraph two</p>

However, if CSS styles are applied to parts of the paragraph it does work.

Would you have any suggestions as to why inline styles are being inserted?

Thanks! Kirsty
Kirsty
Top achievements
Rank 1
 answered on 16 Aug 2010
15 answers
317 views
I think this is a non-starter, but here goes ...

I have a requirement to have a menu across the top of the page. The menu should occupy 100% of the screen width.

I need to have a number of items appear left aligned in the menu and then a number right-aligned. And I mean in the menu itself, so, If I had 5 items in my menu they'd look like this for a normal menu (forgive the text layout of this example)...
First Second Third Fourth Fifth

My user wants ...
First Second                                   Third Fourth Fifth

Is this possible?

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 15 Aug 2010
1 answer
49 views
Hi,
I have an issue with the title said set up.
I have a rad window contains a selectable items radgrid and 3 regular buttons, and the purpose of it is to give the user an option to select several/all items and do action with them (insert,update,delete).
On my development Windows 7 Firefox 3.6.7 its working perfect but on the client's Linux (Slax)  Firefox 2.5 its does not select the items, its not marking the row with color when i check the item and on code behind its ignores it as well....

Must say, the grid works well outside the radwindow.

any suggestions?


Regards,
Nir.
Eyal Noam
Top achievements
Rank 1
 answered on 15 Aug 2010
3 answers
142 views

Hi all,

I have a Masterpage which contains a RadMenu, a Big company logo and some PlaceHolders.

Is it possible when clicking on a RadMenuItem (which will load another content page) to show a RadLoadingPanel in the PlaceHolder ?
And also avoid the company logo to reload/flicker again like when a full postback happens ?

Thank you.

Nuno


TonyG
Top achievements
Rank 1
 answered on 15 Aug 2010
0 answers
128 views
Hi,

I have a radcombobox in a rad window page. The items in the radcombobox are initialized using  DataSource. The items are binded to the RadComboBox. But i am unable to see the items in the radcombobox. it is looking as through it is disabled.

What may be the problem..I am struck here in my program. Please help me.

Source Code for Form
=====================================================================================

<telerik:RadFormDecorator ID="frmDecorator" runat="Server" DecoratedControls="All"
    DecorationZoneID="zone1" />

<div id="zone1">
    <center>
        <br />
        <br />
        <table id="Table3" runat="server" align="center" border="0" cellspacing="0" dir="ltr"
            rules="none" width="90%">
            <tr>
                <td align="left">
                    <asp:Label ID="Label1" Text="Add Catalog" Font-Names="Segoe UI" ForeColor="DarkBlue"
                        Font-Size="Large" runat="server"></asp:Label>
                    <br />
                    <br />
                    <asp:LinkButton Font-Names="Segoe UI" Font-Bold="false" ForeColor="#678BC9" Font-Size="Small"
                        CausesValidation="false" runat="server" ID="lnkHelp" Text="Help"></asp:LinkButton>
                    |
                    <asp:LinkButton Font-Names="Segoe UI" Font-Bold="false" ForeColor="#678BC9" Font-Size="Small"
                        CausesValidation="false" ID="hlnkViewCatalog" runat="server" Text="View Catalog"></asp:LinkButton>
                </td>
                <td align="right">
                    <asp:Image ID="Image1" runat="server" AlternateText="Image" ImageUrl="~/Images/Catalog.jpg" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <hr style="width: 100%; color: Gray" />
                </td>
            </tr>
            <tr height="15">
            </tr>
        </table>
        <table width="90%">
            <tr>
                <td colspan="8" align="left">
                    <asp:Label ID="lblMsg" runat="server" CssClass="noteMsg" Font-Bold="true"></asp:Label>
                </td>
            </tr>
        </table>
        <table id="Table1" runat="server" align="center" border="1" bordercolor="#ccddef"
            dir="ltr" height="1%" rules="none" width="90%"
            style="margin: 0; padding: 0">
            <tr>
                <td bgcolor="white">
                    <table id="Table2" width="100%" runat="server" border="0" cellpadding="2" cellspacing="2"
                        dir="ltr">
                        <tr>
                            <td width="24%">
                                <asp:Label ID="lblCatalogCode" Text="Catalog Code" runat="server" />
                            </td>
                            <td width="1%">
                                <font color='red'>*</font>
                            </td>
                            <td width="25%">
                                <telerik:RadTextBox ID="txtCatalogCode" runat="server" Width="155px" />
                            </td>
                            <td width="24%">
                                <asp:Label ID="lblCatalogName" Text="Catalog Name" runat="server" />
                            </td>
                            <td width="1%">
                                <font color='red'>*</font>
                            </td>
                            <td>
                                <telerik:RadTextBox ID="txtCatalogName" runat="server" Width="155px" />
                            </td>
                            <td rowspan="4" valign="top">
                                <asp:Image ID="imgPreview" runat="server" AlternateText="Image" />
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblCategory" Text="Categoy" runat="server" />
                            </td>
                            <td width="1%">
                                <font color='red'>*</font>
                            </td>
                            <td>
                                <telerik:RadComboBox ID="ddlCategoryNames" runat="server" Width="155px">
                                </telerik:RadComboBox>
                            </td>
                            <td rowspan="2" valign="top">
                                <asp:Label ID="lblUploadImage" Text="Image" runat="server" />
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblBarcode" Text="Barcode" runat="server" />
                            </td>
                            <td>
                            </td>
                            <td>
                                <telerik:RadTextBox ID="txtBarcode" runat="server" Width="155px" />
                            </td>
                        </tr>
                        <tr height="15">
                        </tr>
                        <tr>
                            <td width="90%" align="left" colspan="9">
                                <asp:Label runat="server" Text="UOM" Font-Names="Segoe UI" Font-Size="Small"></asp:Label>
                                <br />
                                <hr style="width: 90%">
                                <br />
                                <table id="Table4" width="40%" runat="server" border="0" cellpadding="2" cellspacing="2"
                                    dir="ltr" align="left">
                                    <tr>
                                        <td>
                                            Store
                                        </td>
                                        <td>
                                            Buy
                                        </td>
                                        <td>
                                            Sell
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <telerik:RadComboBox runat="server" ID="ddlStore">
                                            </telerik:RadComboBox>
                                        </td>
                                        <td>
                                            <telerik:RadComboBox runat="server" ID="ddlBuy">
                                            </telerik:RadComboBox>
                                        </td>
                                        <td>
                                            <telerik:RadComboBox runat="server" ID="ddlSell">
                                            </telerik:RadComboBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <telerik:RadTextBox runat="server" ReadOnly="true" Text="1" ID="txtStore" MaxLength="2"
                                                Width="40px" />
                                            <asp:Label runat="server" ID="lblStore"></asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadTextBox runat="server" ID="txtBuy" MaxLength="5" Width="40px" />
                                            <asp:Label runat="server" ID="Label2"></asp:Label>
                                        </td>
                                        <td>
                                            <telerik:RadTextBox runat="server" ID="txtSell" MaxLength="5" Width="40px" />
                                            <asp:Label runat="server" ID="Label3"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr height="15">
                        </tr>
                        <tr>
                            <td align="center" bgcolor="#ccddef" colspan="8">
                                <asp:Button ID='btnSave' Width="95px" Text=Save" runat="server" />&nbsp;&nbsp;
                                <asp:Button ID="btnCancel" Width="95px" Text="Cancel" runat="server"
                                    CausesValidation="false" />&nbsp;&nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </center>
</div>

=====================================================================================

Code Behind
======================================================================================
    Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
        dim lst as Global.System.Collections.Generic.IList(Of String) = new List(Of String)
        lst.Add("Category1"): lst.Add("Category2")
            ddlCategoryNames.DataSource = List
        ddlCategoryNames.DataBind()
    
        Dim codes As Global.System.Collections.Generic.IList(Of String)= new List(Of String)
        codes.Add("A") : codes.Add("B") : codes.Add("C")
            ddlStore.Items.Clear() : ddlStore.DataSource = codes : ddlStore.DataBind()
            ddlBuy.Items.Clear() : ddlBuy.DataSource = codes : ddlBuy.DataBind()
        ddlSell.Items.Clear() : ddlSell.DataSource = codes : ddlSell.DataBind()
    End If
=========================================================================================

Srinivas Chitta
Top achievements
Rank 1
 asked on 14 Aug 2010
2 answers
236 views
hi ,
i m using RadAsyncUpload in my form. it use for ,ultifile upload. my requirement is if when file upload that time file is store in my project folder . and every file will rename by guid so.. my code is in codebehind. but it gives error every time like following.

Could not find file App_Data\RadUploadTemp\xrdglyzs.lrr'.
here in error bold portion is always different. and my application quit

and my code is following..

 foreach (UploadedFile f in RadUploadlesson.UploadedFiles)
        {
           
            f.SaveAs(Server.MapPath("~/AssignmentDocs/") + objlessonplanDoc.InternalDocumentName, true);           
         
        }
but it always fail

so.. please help me.

rock
Top achievements
Rank 1
 answered on 14 Aug 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?