Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
181 views
Hello To All

I m trying to use rad org chart i m able to bind this from sqldatasource but the problem is that designing of this rad org chart is expanding (designing has been spoiled) means a long Horizontal line is coming, how can i over come from this problem.
Jack
Top achievements
Rank 1
 asked on 26 Mar 2012
3 answers
384 views
Hello, i am trying to use the allowcustomtext feature on the radcombo box, but whether i set the property in the code behind or the code front it fails to work.  All other properties appear to work OK. When I tried setting the property in the code behind under "selected index change" obviously same results.  Basically when i attempt to select a word(s) it selects everything and in order to modify the suggested value you have to use the "end" key then scroll left, end users are complaining.. please help.
<telerik:RadComboBox ID="cbActivity" runat="server" Skin="Windows7"
                   EnableLoadOnDemand="true" MarkFirstMatch="true" 
                   EnableVirtualScrolling="True" DataSourceID="SqlDataSource1" 
                   DataTextField="Activity" DataValueField="Activity" 
                   EmptyMessage="Enter New Activity or Select Pre-Existing" 
                   style="margin-bottom: 0px" Width="500px" AllowCustomText="true"
                   HighlightTemplatedItems="true" ShowMoreResultsBox="true">
               </telerik:RadComboBox>
attempt using code behind
protected void cbActivity_SelectedIndexChanged(object o, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
    {
        cbActivity.AllowCustomText = true;
    }
Kris
Top achievements
Rank 1
 answered on 26 Mar 2012
2 answers
134 views

 

 

 

 

 

Hi, I have a radgrid bound to an iList of objects. My list has objects of type "Voucher"

The user can select multiple rows in the grid.

I can enum through the selected rows using;

 

 

 

 


for each x in grd.SelectedItems

next

How can i get a reference to the underlying "Voucher" object the row is bound to?

thx!

 

 

 

 

 

 

 

 

Kim
Top achievements
Rank 1
 answered on 26 Mar 2012
2 answers
143 views
Hi Team,

         I'm trying open the pdf file from radwindow. I follow this thread Rad Window to Open Pdf . It work on Firefox not at IE8.
Someone can give me suggestion?

<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
        <script type="text/javascript">
            function rbLegend_OnClientClicked(sender, args) {
                var rwLegend = $find("<%= rwLegend.ClientID %>");
                rwLegend.show();
                sender.set_autoPostBack(false);
            }          
        </script>
    </telerik:RadScriptBlock>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="rbLegend">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rwLegend" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <div>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
            <Windows>
                <telerik:RadWindow ID="rwLegend" runat="server" VisibleOnPageLoad="false" ShowContentDuringLoad="true">
                    <ContentTemplate>
                        <iframe id="iframe3" runat="server" width="99%" height="99%" src="2.pdf">
                        </iframe>
                    </ContentTemplate>
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>
        <telerik:RadButton ID="rbLegend" runat="server" Text="RadButton"
            OnClientClicked="rbLegend_OnClientClicked">
        </telerik:RadButton>
    </div>

Regards,
Alex
ALEX
Top achievements
Rank 1
 answered on 25 Mar 2012
3 answers
158 views
Hello, I have a Radgrid with a DetailTable inside. This Grid has orders with order items in the detail table.
I have a OnDataBound event on this Grid. This event checks for the value in a column and then sets the row backcolor on it.
It works fine until I try to expand into the detailtable since then it tries to execute the OnDatabound event and the field I am checking does not exists in the detail table.
Below is the OnDataBound event:

protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridDataItem)
            {
                GridDataItem dataItem = (GridDataItem)e.Item;
                TableCell myCell = dataItem["ready"];
                if ((myCell.Text == "True"))
                {
                    dataItem.BackColor = System.Drawing.Color.SteelBlue;
                }
            }
        }

The code fails when trying to expand into the detail table. It fails on line:
TableCell myCell = dataItem["ready"]; 
since the "ready" column does not exist in the detail table.

 Can someone let me know how I can fix this?
Thanks.
Shinu
Top achievements
Rank 2
 answered on 24 Mar 2012
3 answers
231 views
I am attempting to add a CustomValidator to a control in an EditItemTemplate, but cannot figure out how to get the values of the two objects involved in the OnServerValidate event. Have googled for information half a day with no success.

Based on a value entered in a TextBox with validation, I need to determine if a value exists in a RadDatePicker inside all within an EditItemTemplate. (edit mode)

Thanks,
SteveO...

 

<EditItemTemplate>

 

 

<asp:TextBox ID="nextact" runat="server" onclick="javascript:HighlightRow(this);" Text='<%# Bind("NextAct")%>' Width="20px" Style="text-transform:uppercase" ></asp:TextBox>

 

 

<asp:CustomValidator ID="CustomValidator2" runat="server" ErrorMessage="Next Act Date required" OnServerValidate="NextActDate_Validate" Display="Dynamic" > </asp:CustomValidator>

 

 

</EditItemTemplate>

 


Shinu
Top achievements
Rank 2
 answered on 24 Mar 2012
7 answers
196 views
Hi ALL,

Please help me on Creating RadDockZone object client side. Here i am posting my sever side code, the same code i need it in client side:
        RadDockZone rdzOuterZone = new RadDockZone();
        rdzOuterZone.ID = "rdzOuterZone";
        rdzOuterZone.EnableTheming = false;
        rdzOuterZone.Orientation = Orientation.Vertical;       
Its very urgent.... Help out me on this.

Thanks,
Abhishek K
Abhishek
Top achievements
Rank 2
 answered on 24 Mar 2012
5 answers
521 views
HI,
In the grid with inline editing the template is already defined with labels and text-boxes..But when the users clicks on the edit button on command item template i want the show the template with drop-downs i.e different template from current one.How can i do this?
Attached file is the screenschot taken in inline edit mode.
 i want to have dropdowns instead of text-boxes  , labels are same .on click of command in command item template.
Shinu
Top achievements
Rank 2
 answered on 24 Mar 2012
0 answers
109 views
Hello everyone!

I am developing a software for Textile Industry. I have a scenario in which there are 3 grids i am using. 1 for Warp Count, 1 for Weft Count and 1 for Composition. Maximum counts allowed are 4 in both warp and weft counts, In composition grid i am pulling composition from a setup table. What I need is to show 4 blank rows in warp and weft count grids as default so that the user can select desired yarn from the ComboBox. Warp and Weft Counts Grids contains 4 columns YarnSupplier, YarnQuality, YarnName and Ratio%. 

My question is how to show 4 rows when the webform opens. And what if i want to add a blank row after Ratio% entered in the column.

I have searched a lot but couldn't find any solution. Please help me to save my time in searching.

Please reply

Thanks and regards,
Shah
Top achievements
Rank 1
 asked on 24 Mar 2012
7 answers
130 views
Does anyone know of a textbox that merges the functionality of combobox functionality like we see present in the Facebook wall?  More and more clients are beginning to ask for smart textboxes which no vendor provides yet (unless I am missing it) that allows for portions of the text box to be a hyperlink from a list of entries identified below that can be clicked.  Often it would be nice to have multiple different entries have links in the text box but be light enough to use as a textbox replacement.

When we access the textbox in a post back, it would be great to have a collection to retrieve the entries people located.  To see this, use the @ as you type in the facebook wall.

regards,
Dave
Iana Tsolova
Telerik team
 answered on 24 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?