Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
126 views
In a data entry form I placed several comboboxes.

I also had two in an updatepanel which becomes visible dependant on input.

No problems.

After setting the skins of the original combos (outside the updatepanel) to "Vista" the ones in the updatepanel break and do not display even their default skin correctly.

Setting the combos in the updatepanel to Vista too, and everything is fine again.

So in summary, changing the original combo's skin property to anything from the default and not doing the same to those in the updatepanel broke the display of those in the updatepanel.

Don't need assistance as this is not causing me a problem, just a bug I noticed whilst coding.
Simon
Telerik team
 answered on 21 Feb 2008
1 answer
165 views
If I create the most simple example enabling drag and drop and include an iframe, the drag and drop does not work. It does not work in that you cannot pick up the item in the tree.

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="DragAndDrop.aspx.vb" Inherits="IPSCWebClient.DragAndDrop" %> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server">  
        <asp:ScriptManager ID="scm" runat="server">  
        </asp:ScriptManager> 
 
        <telerik:RadTreeView ID="RadTreeView1" Runat="server" EnableDragAndDrop="true">  
            <Nodes> 
                <telerik:RadTreeNode runat="server" bod="guid1" text="Node 1"></telerik:RadTreeNode> 
                <telerik:RadTreeNode runat="server" bod="guid2" text="Node 2"></telerik:RadTreeNode> 
            </Nodes> 
        </telerik:RadTreeView> 
 
        <iframe src="http://www.google.co.uk" /> 
    </form> 
</body> 
</html> 

If the IFrame is taken out, then enable dragdrop works fine.

Thanks,
Martin
Atanas Korchev
Telerik team
 answered on 21 Feb 2008
1 answer
206 views
I have a radgrid within a radpane. I would like to use the scrolling function with static headers. I would also like the radgrid to resize itself to fill out the radpane. I have tried setting the ScrollHeight to 100% but this doesn't work. Essentially I want the radgrid to scroll when its content exceeds the size of the radpane it is contained in whilst retaining the column headers.

Any ideas?
Steve
Telerik team
 answered on 21 Feb 2008
5 answers
172 views
Probably an easy question for somebody.. 

from event: RadScheduler2_AppointmentCreated
I am able to use e.Container.FindControl to get at my own asp:hidden cntrls inside an AppointmentTemplate
 
How can I get at those cntrls inside the event:
RadScheduler2_AppointmentInsert(object sender, SchedulerCancelEventArgs e)

Nice if there were an easier way to do this but basically I am making a db trip for every appointment and filling hiddens with extra data I would like to associate with the appointment. That way on the update or insert I can do my own ins/update to the db and add in those extra items. I take it the only other way to get the functionality I want would be to write my own provider??
Please at least answer the how to get at the hidden cntrls question above if you can.

Thanks.
Dimitar Milushev
Telerik team
 answered on 21 Feb 2008
5 answers
129 views
I had a page with come radcombos, radcalendar, and a grid.  Everything was working just fine until I set the client-side row selection of the Grid to true.  The calendar wouldn't pop up and there was a js error: Object required.

I attempted to isolate the error by creating a new test page with nothing on it but the RadScriptManager and the RadGrid.  Loaded it up with the default settings just fine.  Then I turned on the client-side row selection and I got a js error again:

Sys.ArgumentNullException: Value cannot be null.  Parameter name: id.

Any ideas?
Sebastian
Telerik team
 answered on 21 Feb 2008
3 answers
129 views
Hi

In place of the standard messages at the bottom of the radgrids as shown in the examples on save / insert etc I would like to know if it is possible to display a dialog similar to the standard javascript "alert" dialog.

I would also like to be able to do this as part of an update or insert in the updatecommand and insert command events.

Thanks

Richard
Vlad
Telerik team
 answered on 21 Feb 2008
4 answers
152 views
Hi!

I'm using a userControl to perform updates on a selected row. But I believe that there's a problem when the userControl contains DatePickers and /or comboboxes:

The combobox appears incorrectly (appears the word "select" on the screen). I've tryed to see the online example (http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/DataEditing/UserControlEditForm/DefaultCS.aspx) but you've used the traditional DropDownList (??)

The datepickers don't draw correctly: the textbox that holds the date is missing its right margin. (I'm using the Default2006 skin)

I could attach printscreens, but I don't know if it's possible.

Since we're about to buy the Prometheus version this month, I'm a little concerned about this issues.

Has anyone experienced this?
Yavor
Telerik team
 answered on 21 Feb 2008
2 answers
193 views
Got another really strange issue. I have a page that actually has several comboboxes on it. I'm using the Telerik theme on all of them. On the one at the top of the page, I can see part of the word 'Select' in the dropdown arrow image on the right side of the combobox. It's really bizzarre...it's only the one combobox displaying this behavior...the others are fine.

Here's the code

    <table width="100%" cellpadding="0" cellspacing="0" border="0">  
        <tr> 
            <td style="width:29px; padding-top:3px;"><img src="images/header_bullet.gif" alt="" style="vertical-align:bottom;" /></td>  
            <td style="text-align:left;" class="titleSectionLeft">Scout Information - <asp:Label ID="scoutName" CssClass="titleSectionLeftHighlight" runat="server" /></td>  
            <td style="text-align:right; white-space:nowrap; padding-right:5px; padding-top:3px;">  
                <telerik:radcombobox ID="scoutNav" Width="162" Runat="server" ShowToggleImage="True" EnableEmbeddedSkins="false" Skin="scSkin" DataSourceID="scoutnavdatasource" DataValueField="scout_id" DataTextField="scout_nm" /> 
                <asp:SqlDataSource ID="scoutnavdatasource" runat="server" ConnectionString="<%$ConnectionStrings:LocalSqlServer %>" SelectCommand="SELECT DISTINCT [sc_scout].[scout_id], [sc_scout].[scout_fnm] + ' ' + [sc_scout].[scout_lnm] AS [scout_nm] FROM [sc_scout] ORDER BY [scout_nm] ASC" /> 
            </td> 
            <td style="text-align:right; white-space:nowrap; padding-right:5px; padding-top:3px;" class="titleSectionRight">  
                <div class="button"><asp:Label ID="save_btn" Text="Save" runat="server" /></div>  
            </td> 
        </tr> 
    </table> 

I'm using Visual Web Developer 2008 for design and the site is configured as .NET 3.5 with AJAX.

Any ideas what this might be?
Philip
Top achievements
Rank 1
 answered on 21 Feb 2008
14 answers
489 views
hi there,

     I put a RadUpload Prometheus(Q3) on the DNN module(.ascx). I have done the settings in web.config. It's can upload files, but it return an error message everytime when postback. The message is "RadUpload Ajax call back error. Source url returned invalided content:". The following of the error message is the page's html code. Is anything I need to set up to make this error disappeard?
     The code is what I write on the DNN module(.ascx):
<telerik:RadProgressArea ID="RadProgressArea1" runat="server">
                        </telerik:RadProgressArea>
                        <telerik:RadProgressManager ID="RadProgressManager1" runat="server" Skin="Web20" />
                        <telerik:RadUpload ID="RadUpload1" runat="server" Skin="Web20" InputSize="40" Width="420px"/>
dc
Top achievements
Rank 1
 answered on 21 Feb 2008
1 answer
129 views
I'm trying to see if this is possible, and I think it is, I just can't seem to figure out the coding.

I have a RadComboBox that I'm selecting multiple email addresses out of, so I have the AutoCompleteSeparator=";" turned on. I also have it using LoadOnDemand. This works great for the first email address, but when you start typing the second one, it's using the entire ComboBox text to search for the next value, not just what's after the last ";". Of course it doesn't find a match and then deletes your entry.

I'm thinking the solution is to search e.Text (this is the ComboBox text) for the last ";" and set e.Text to everything past that last ";". This is actually more straight forward .NET programming than something to do with the RadComboBox, but I thought someone here might have already tried this and could help.

I appreciate the assistance.
Philip
Top achievements
Rank 1
 answered on 20 Feb 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?