Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
190 views
Hi Expert,

            I follow this Combo Example. My problem is user don't key in field. When i show/reload a form, combox is always show first row. Actuall it should be show "Empty Message" in combo box. I search a forum, but i can't find it. :(.

           I set _raddlDelivery.SelectedIndex = -1; But also doesn't work. Kindly, please advice to me.


Best Regards,
Kate
Telerik team
 answered on 28 Apr 2011
1 answer
89 views
Hello,

I want to implement drag and drop feature in my application between two grid, but now i am facing problem when i drag from left to right its working fine , but when i drag from right to left its not working.

i seen the demo and check in that also same problem


http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx

and one more problem is i want to save in to DB after drag and drop , how can i do that? currently its saving on client side

reply ASAP..

Regards
Samir
Pavlina
Telerik team
 answered on 28 Apr 2011
1 answer
128 views
GridClientSelectColumn has a usability problem with AllowMultiRowSelect = true:
  1. If the user checks the checkbox, it adds the row to the current selection.
  2. If the user misses the checkbox by 1px and accidentally clicks the row instead, it CLEARS the current selection and only selects the current row.

This is a usability problem because even 1px difference in where you click produces an entirely different result.  My users have complained about this repeatedly.

Is there some workaround or hack I can do to make the row-click selection behavior behave the same way as the checkbox?  (adding the current row to the selection)

If not, then is it possible to turn off the row-click selection behavior and just use the checkbox?
Pavlina
Telerik team
 answered on 28 Apr 2011
4 answers
98 views
Hi

I am using vs2010 and radcontrols for asp.net ajax

I was using q1 2010 but IE 9 has forced me to upgrade to the newest version. I have follwed the following steps

1. I allowed vs2010 to upgrade to the latest version for me. This downloaded it somewhere and then did nothing. (I later found out it put it in the c:\telerikupdates folder). I don't know for usre if this installed anything or just downloaded it. It did not download the 2011 version though.

2. Ok then I now think best to do it manually then to be sure. I downloaded the q1 2011 version and installed it. I then try a re-build. None of the dll's have changed after re-build.

3. OK I now uninstall the q1 2010 version completeley.

4. I manaully overwrite the telerik dll's in the bin folder to the latest versions.

5. I run vs2010 and look at the design time web forms and now the controls are all showing "error creating control - xxx". If I drop a new control onto the form from the 2011, the new control works fine and this seems to kick all the current components on the page into line.

Why do I have to take the step at stage 5 to make it work correctly. This is a big chore as we have to update a lot of pages across a lot of projects. (whole days of work for the poor junior programmer)?

Is there something I am missing?

Do I not understand the upgrade paths properly?

Any help appreciated, thanks.
Erjan Gavalji
Telerik team
 answered on 28 Apr 2011
11 answers
100 views
Hi Guys,

So I have a custom context menu item I added to the right click menu of the appointments. My client has several recurring appoints they put on their schedule as placeholders that they want to then later be able to assign customers to. Easy enough on a non-recurring appointment like so:

if (e.MenuItem.Value == "CommandSelectClient") {
            Response.Redirect("browse_clients.aspx?go=appointments.aspx&m=select&appointment_id=" + e.Appointment.ID.ToString());
        }

But, the problem comes when I try do it on a recurring event  which is the whole point of this exercise. It passes the recurring event ID through the above URL.

How can I convert the recurring appointment to a non-recurring appointment in this event handler, and then get the non recurring ID passed across to my new page?

Thanks!
Peter
Telerik team
 answered on 28 Apr 2011
2 answers
1.6K+ views
Hi Everybody,
Sorry to bother you about this subject again - posted a similar question a while ago, had to do some studying on css, and now i am back with the same issue. If I mouse over a row in a radgrid (skin: vista) i want the cursor to change to a hand, so the user gets the signal that he can click the row. 

Well, I added this to aspx-page: 

<style type="text/css">
 
.UseHand
 
{
 
    cursor: hand;
 
}
 
</style>

and then for one column of the grid:

<telerik:GridBoundColumn DataField="AccommodationTitle"
            SortExpression="AccommodationTitle" UniqueName="AccommodationTitle"
            HeaderTooltip="Click om te sorteren">
            <HeaderStyle Width="100px" />
            <ItemStyle Font-Bold="True" Font-Size="9pt" VerticalAlign="Top" CssClass="UseHand"/>           
        </telerik:GridBoundColumn>

But, with no result. Any suggestions?
Regards, Peter.
TallOne
Top achievements
Rank 2
 answered on 28 Apr 2011
2 answers
264 views
Is there any way to set all the checboxes inside a radlistbox as readonly?
dennis
Top achievements
Rank 1
 answered on 28 Apr 2011
4 answers
133 views
We have a RadTabStrip controlling a RadMultiPage.  In three of the RadPageViews we have a RadGrid.  The EditForm of these RadGrids contains ASP RequiredFieldValidators.  The problem occurs when the RequiredFieldValidators are not satisfied, the user changes tabs, and tries to navigate away from the page which calls Page.Validate().  The validation errors do not stop RadTab change and are no longer visible.  I'm looking for a way to stop that RadTab navigation from occurring when there are ASP.NET Validation errors.  (2010.3.1109.35)  Thank you.
THOMAS
Top achievements
Rank 1
 answered on 28 Apr 2011
8 answers
134 views
I am trying to implement the Splitter as a "Message Center" on my masterpage.  Then on the Child page, you call masterpage.SetErrorMessage().  A label inside the splitter will be populated and the Splitter should Autoexpand.  I found some sample code in the forum for autoexpanding the Splitter and I can get it to work if the code is in the Page Load, but if an error happens somewhere else on the page, when I call masterpage.SetErrorMessage(), the code gets called, but the splitter never expands and the Label inside the splitter does not get set with the error message.  I tried wrapping it in a RadAjaxPanel, but that didn't help.  I'm sure I'm doing something stupid.  Could somebody help me out?  Below is my Splitter HTML and my code behind.

thanks

Splitter HTML:
<telerik:RadSplitter ID="MessageCenter" runat="server" Orientation="Vertical" Skin="WebBlue"<br>                Width="100%"><br>                <telerik:RadPane ID="RadPane1" runat="server"><br>                    <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" SlideDirection="Top"><br>                        <telerik:RadSlidingPane ID="RadSlidingPane1" EnableDock="false" runat="server" Title="Message Center"<br>                            Height="75" Scrolling="Y" BackColor="Red"><br>                            <asp:Label ID="lblErrorMessage" CssClass="textFields" runat="server" Text="No Messages Currently..."></asp:Label><br>                        </telerik:RadSlidingPane><br>                    </telerik:RadSlidingZone><br>                </telerik:RadPane><br>            </telerik:RadSplitter>

Code behind to Set the Message and expand the Splitter:

 public void SetAlertMessage(string message, string bgColor)<br>        {<br>           <br>            lblErrorMessage.Text = message;<br>            RadSlidingZone1.ExpandedPaneId = RadSlidingPane1.ID;<br><br>            switch(bgColor)<br>            {<br>                case "green":<br>                    RadSlidingPane1.BackColor = System.Drawing.Color.Green;<br>                    break;<br>                case "yellow":<br>                    RadSlidingPane1.BackColor = System.Drawing.Color.Yellow;<br>                    break;<br>                case "red":<br>                    RadSlidingPane1.BackColor = System.Drawing.Color.Red;<br>                    break;<br>                default:<br>                    RadSlidingPane1.BackColor = System.Drawing.Color.Red;<br>                    break;<br>            }<br>            return;<br>        }
Dobromir
Telerik team
 answered on 28 Apr 2011
1 answer
96 views
This is my grid.
I also use llblgen to populate the grid and it take to long.
I use onneeddatasource and it populates the IEnum fine but it take ages to render the grid.
There are over 400000 records in the message table.
This take ages to load.

<telerik:RadGrid AutoGenerateColumns="False" ID="RadGrid1"
                DataSourceID="SqlDataSource1" AllowFilteringByColumn="True" AllowPaging="True"
                AllowSorting="True" runat="server">
                <PagerStyle Mode="NextPrevAndNumeric" />
                <GroupingSettings CaseSensitive="false" />
                <MasterTableView TableLayout="Fixed">
                    <Columns>
                        
                        <telerik:GridBoundColumn HeaderText="Product name" DataField="MessageId" UniqueName="ProductName"
                            SortExpression="ProductName" HeaderStyle-Width="180px" FilterControlWidth="140px"
                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false" />                     
                        <telerik:GridBoundColumn HeaderText="Quantity per unit" DataField="Subject"
                            UniqueName="QuantityPerUnit" SortExpression="QuantityPerUnit" HeaderStyle-Width="110px"
                            FilterControlWidth="90px" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains"
                            ShowFilterIcon="false" />                      
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:AxxessRadConnectionString %>"
        SelectCommand="SELECT * FROM [Message]"></asp:SqlDataSource>
JedF
Top achievements
Rank 1
 answered on 28 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?