Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
Hi-

I am currently getting no text on the spell check dialog.  It is working on one server but not another, I am not sure what I should be looking for.

Could someone please assist ?

Thank you,

-Daniel
Georgi Tunev
Telerik team
 answered on 29 Jun 2010
1 answer
147 views
Have 2 questions, but the error first.  When I select the edit button after changed the rule name, no values are put into my newValues hashtable.  So my edit never takes place.  Other question is I have 2 controls to help create 1 item for a column during edit. How would I combine the control values during the edit.  The two controls are a datepicker and a timeselector control.

Code Behind
   protected void ruleLV_NeedDataSource(object sender, RadListViewNeedDataSourceEventArgs e)
    {
        ruleLV.DataSource = dt;
    }

    protected void ruleLV_ItemCommand(object sender, RadListViewCommandEventArgs e)
    {
        if (e.CommandName == RadListView.CancelCommandName)
        {
            ruleLV.InsertItemPosition = RadListViewInsertItemPosition.None;
           // ruleLV.FindControl("Button1").Visible = true;
        }
        else if (e.CommandName == RadListView.UpdateCommandName)
        {
            RadListViewEditableItem item = (RadListViewEditableItem)e.ListViewItem;
            Hashtable newValues = new Hashtable();
            item.ExtractValues(newValues);

            DataTable newDT = dt;
            DataRow[] changedRows = newDT.Select("RuleID = " + e.ListViewItem.OwnerListView.DataKeyValues[e.ListViewItem.OwnerListView.EditIndexes[0]]["RuleID"].ToString());


            if (changedRows.Length != 1)
            {
                e.Canceled = true;
                return;
            }
            changedRows[0].BeginEdit();
            try
            {
                foreach (DictionaryEntry entry in newValues)
                {
                    changedRows[0][(string)entry.Key] = entry.Value;
                }
                changedRows[0].CancelEdit();
                this.ViewState["_lvds"] = newDT;
            }
            catch (Exception ex)
            {
                changedRows[0].CancelEdit();
                e.Canceled = true;
            }



        }
    }

MarkUp

 <telerik:RadListView ID="ruleLV" runat="server" AllowPaging="True"
                DataKeyNames="RuleID" ItemPlaceholderID="RulePlaceHolder"
                onitemcommand="ruleLV_ItemCommand" onneeddatasource="ruleLV_NeedDataSource"
                PageSize="5" Skin="Windows7">
                <LayoutTemplate>
                    <table ID="Table1" runat="server">
                        <tr>
                            <th ID="SummaryIdHdr" runat="server" width="150px">
                                Rule ID</th>
                            <th ID="BegTimeStampHdr" runat="server" width="200px">
                                Start Date/Time</th>
                            <th ID="EndTimeStampHdr" runat="server" width="200px">
                                End Date/Time</th>
                        </tr>
                        <tr ID="RulePlaceHolder" runat="server">
                        </tr>
                    </table>
                    <fieldset style="text-align: center; background-color: white;">
                    </fieldset>
                </LayoutTemplate>
                <EditItemTemplate>
                    <tr ID="rules" runat="server" bgcolor="white">
                        <td>
                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("SummaryID") %>'> </asp:TextBox>
                        </td>
                        <td>
                            <telerik:RadDatePicker ID="startDate" runat="server"
                                Calendar-ShowRowHeaders="false" SelectedDate='<%# Bind("BegTimeStamp") %>'>
                            </telerik:RadDatePicker>
                        </td>
                        <td>
                            <MKB:TimeSelector ID="time1" runat="server" Date='<%# Bind("BegTimeStamp") %>'
                                MinuteIncrement="1">
                            </MKB:TimeSelector>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("BegTimeStamp") %>'></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("EndTimeStamp") %>'></asp:TextBox>
                        </td>
                        <td>
                            <asp:Button ID="Button1" runat="server" CommandName="Update" Text="Update"
                                Width="70px" />
                        </td>
                        <td>
                            <asp:Button ID="Button2" runat="server" CausesValidation="false"
                                CommandName="Cancel" Text="Cancel" Width="70px" />
                        </td>
                    </tr>
                </EditItemTemplate>
                <ItemTemplate>
                    <tr ID="rules0" runat="server" bgColor="White">
                        <td>
                            <%#Eval("SummaryID") %></td>
                        <td>
                            <%#Eval("BegTimeStamp") %></td>
                        <td>
                            <%#Eval("EndTimeStamp") %></td>
                        <td>
                            <asp:Button ID="Button1" runat="server" CommandName="Edit" Text="Edit" />
                        </td>
                    </tr>
                </ItemTemplate>
            </telerik:RadListView>
            <telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="ruleLV"
                PageSize="1" Width="550px">
                <Fields>
                    <telerik:RadDataPagerButtonField FieldType="FirstPrev" />
                    <telerik:RadDataPagerButtonField FieldType="Numeric" />
                    <telerik:RadDataPagerButtonField FieldType="NextLast" />
                    <telerik:RadDataPagerPageSizeField />
                </Fields>
            </telerik:RadDataPager>

Rosen
Telerik team
 answered on 29 Jun 2010
7 answers
212 views
I find that whenever I use RadTabStrip + RadMultipage in a complex FormView, I get:
  1. Slower and slower response inside VS2008...
  2. Memory bloat - up to about 1Gb used - then...
  3. VS crashes (3 times this morning!! Each after use of 1Gb memory)

I only seem to have this problem when using these components in a complex form - otherwise VS etc is quite stable

Ideas?

XP SP3 (4Gb ram)
Telerik 2010 controls
ASP.NET 2.0/3.5

Steve
Dimitar Milushev
Telerik team
 answered on 29 Jun 2010
1 answer
152 views
Hi,

We currently have a RadAjaxPanel within a TabPanel. Within the RadAjaxPanel we have a user control which contains a repeater that displays a list of product results and each result has an add to basket button. This button adds one of the product by default to the basket (and the mini basket within the page) unless the user puts a different amount in the quantity box.

However whenever this button is pressed, it adds 2 of the product to the basket. We use the usercontrol elsewhere in the site and it works as it should. However when placed inside a RadAjaxPanel it appears to not work as it should.

Any ideas?

Thanks
Paul
Veli
Telerik team
 answered on 29 Jun 2010
1 answer
157 views
We are running into issues where the scheduler is adjusting the visible location of appointments based on daylight savings.  We do not need this functionality.  Can this be disabled?
T. Tsonev
Telerik team
 answered on 29 Jun 2010
1 answer
296 views
Hi,

Is there an easy way to create a CSS style to set the width and height of a RadToolTip?

Currently I am setting them as part of the declaration (see below) of the RadToolTip, but would like to make it easier to maintain with a single style.

<

 

telerik:RadToolTip Title="Help" runat="server" ID="RadToolTipPassword" HideEvent="ManualClose"

 

 

ShowEvent="OnClick" TargetControlID="imgPassword" IsClientID="false" Width="150" Height="300" />

 



Thanks,
Shinu
Top achievements
Rank 2
 answered on 29 Jun 2010
4 answers
109 views
Hi,
 I've customised some new toolbar layouts and unlike your lovely neat ones, a couple of mine dont meet the full width of the toolbar property set in the configfile.xml. This leaves some white space at the end of the toolbar that doesn't look that great. Is there any way to avoid this? I've tried setting a width to the toolbar but it seems the variable isn't recognised.

 Also - with regard to documentation, is there anything other than the demo pages which gives a FULL list of the customisable options for the configfile.xml and toolsfile.xml? I'm having to hunt around from one page to another to find clues and new settings - it seems a bit awkward to learn quicker and not have to ask questions in the forums all the time.

Thanks,
Jason.
Jason Brownhill
Top achievements
Rank 1
 answered on 29 Jun 2010
4 answers
135 views
If the value is changed in the OnServiceRequest, is there any way to access the new value in OnClientResponseEnding?

Pero
Telerik team
 answered on 29 Jun 2010
3 answers
105 views
example i got 3 pages,parent.aspx,  child1.aspx, and child2.aspx.  parent opens child1 and child2 using radwindow. therefore, child1 and child2 are siblings. What i want to do is to access javascript functions of child1 from child2 or vice versa. please help thanks





dick
Top achievements
Rank 1
 answered on 29 Jun 2010
2 answers
127 views
I have a radgrid that I edit InPlace.
 
I would like to show Update and Cancel buttons only when the row is in editmode, how do I do that?
Shinu
Top achievements
Rank 2
 answered on 29 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?