Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
59 views
Hello

I'm having issues with a combobox trying to reproduce the validation groups example.
However my issues have nothing to do with the validations groups but only with the display of the RadComboBoxItem (cf. attached screenshot)
 
Here is my ASPX code :

<label>Project : </label> <telerik:RadComboBox ID="ComboBoxProjects" Width="180px" runat="server" />

And my C# code :

protected void Page_Load(object sender, EventArgs e)
 {
        if (!IsPostBack)
        {
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("- Search in -"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("All Platforms"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("ASP.NET"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("WinForms"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("Silverlight"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("WPF"));
            this.ComboBoxProjects.Items.Add(new RadComboBoxItem("Reporting"));
         }
}


Thank you for your help, I start to be kind of desperate here T_T
Sylvain
Sylvain
Top achievements
Rank 1
 answered on 28 Dec 2010
1 answer
110 views

I am trying to figure out how to determine which item parent or child grid item is being process in the ItemDataBound event.  My data set has two tables and unique names but trying to use: e.Item.OwnerTableView.DataMember does not give me the name of the table.  For the detail records I am using Dim parentItem As GridDataItem = e.Item.OwnerTableView.ParentItem to determine if it is a parent or child item but I need to change the header property but can not figure out how to do this.  I tried using Dim headeritem As GridHeaderItem = DirectCast(e.Item, GridHeaderItem) to determine parent or child but am not sure how to accomplish.

Any ideas how I can easily determine at the header level if I am processing the parent or child header?

Thanks

John

 


Elliott
Top achievements
Rank 2
 answered on 28 Dec 2010
5 answers
1.7K+ views

Hi I get an error "Could not load file or assembly 'Telerik.Web.UI, Version=2010.2.713.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)", and I am running Telerik.Web.UI Version = 2010.31109.35 which is the one I am referencing but it kkeps on refering to the old verion 2010.2.713.35, will anyone please help with the error.

Regards 
Vasil
Telerik team
 answered on 28 Dec 2010
2 answers
62 views
hi ,
i am using a rad window to open the page in sapreate window, now in my scenerio i need to open my page in full maximize mode. means, when user hit the button "open new window" then window should get open in full maximize view. can any one help me to accomplish this.

thanks,
Micheal
Micheal
Top achievements
Rank 1
 answered on 28 Dec 2010
1 answer
47 views
I've searched your site and the web for days and cannot find an answer to this.  I have a RadGrid with a detail table (GridTableView).  My detail table has an edit column that I want to use to update my database via the updatestatement from the sqldatasource.  I also want to be able to insert new records in my detail table, but using a different form for inserts.  Per your site, I have created two user controls (ascx files) that have each of my forms for inserting and updating, and am able to display the correct one when clicking the appropriate link.  My problem is that when I click the respective submit button, the values passed via my updateparameters or insertparameters to the updatestatment and insertstatment of my sqldatasource are all null.  I have implemented the global dataitem in my usercontrol, and am able to display values on the usercontrols using the <#% Bind() %> syntax, however it appears to be a one-way binding.  How can I configure the usercontrol to bind 2-way so that the update and insert commands of the sqldatasource work properly?  Every work around I've seen requires a bunch of code and handling of events like needdatasource.  This seems like it should be simple as I just need to get the values from my form to my parameters passed to my sqldatasource.  If I implement one form as a template I can get it to work, but how do I do it using seperate usercontrols and also using sqldatasource as my datasource?
Iana Tsolova
Telerik team
 answered on 28 Dec 2010
3 answers
109 views
I am using RadSlider control with property IsSelectionRangeEnabled="true". I want to use two different image for two drag handlers.
Right now I could figure out that only one image is possible for both the drag handlers. 

I need it in urgent. Please suggest regarding that ASAP.

Arun.
Svetlina Anati
Telerik team
 answered on 28 Dec 2010
2 answers
101 views
I am using the latest version of the ASP.NET AJAX controls (see the attached screen capture from my VS2010 project, TelerikTabErrorVersion.gif).

It doesn't seem to matter which embedded skin I use, there are additional lines drawn on some of the tabs that do NOT seem to interfere with proper operation, but are not attractive.  I have attached four (4) different screen captures of the results from 4 different skins.  The additional lines on the tabs show in most (or all) of the tabs, but some tabs are eaiser to see it in than others.

The entire .aspx page code is shown below.  There is no code at all in the code behind file.
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="TestTabStrip.aspx.vb" Inherits="TestTabStrip" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head runat="server">
    <title></title>
</head>
<body style="background-color: Gray;">
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
        <telerik:RadTabStrip ID="RadTabStrip1" runat="server" EnabledEmbeddedSkins="true" Skin="Forest">
            <Tabs>
                <telerik:RadTab PageViewID="RadPageView1" Text="How We Work" NavigateUrl="TestNewListing.aspx" Target="_blank" ></telerik:RadTab>
                <telerik:RadTab PageViewID="RadPageView2" Text="Buying/Selling" ></telerik:RadTab>
                <telerik:RadTab PageViewID="RadPageView3" Text="Renting/Leasing" ></telerik:RadTab>
                <telerik:RadTab PageViewID="RadPageView4" Text="Trading" ></telerik:RadTab>
                <telerik:RadTab PageViewID="RadPageView5" Text="Vendors" ></telerik:RadTab>
                <telerik:RadTab PageViewID="RadPageView6" Text="Web Cams" ></telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
    <div style="background-color: White;">
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    </div>
    </form>
</body>
</html>

Can anyone tell me what to do to get rid of these additional lines drawn within the tabs?

I should add:
(a) Windows 7 Ultimate, 64-bit;
(b) IE 8.0;
(c) VS2010.

Thanks in advance!

Lynn
Lynn
Top achievements
Rank 2
 answered on 28 Dec 2010
7 answers
181 views
I have a RadGrid controlled by the RadComboBox inside the CommandItemTemplate. The combobox controls what data are displayed inside the RadGrid. It works fine most of the time but when the current data are sorted the RadGrid won't rebind because it will still try to sort by the sortingColumn of the previous data set, which doesn't exist in the new one.
How can I clear the sort value so I can get my RadGrid to rebind?


Iana Tsolova
Telerik team
 answered on 28 Dec 2010
2 answers
47 views
I have a RadListView in my page , when i set AjaxSetting page not load and when I delete this part my page load :

<telerik:AjaxSetting AjaxControlID="taskslist">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="taskslist" />
                    </UpdatedControls>
                </telerik:AjaxSetting>

rtech
Top achievements
Rank 1
 answered on 28 Dec 2010
5 answers
84 views
Hi Guys!!
I´m trying to edit the social bookmark buttons to put a special code there and change the current ones, but I don´t have idea how to do that can you help me with that?
I notice that it works with a XML file but I want to use a .ascx that I made or just paste the following code.

<div class="addthis_toolbox addthis_default_style"><div class="addthis_toolbox addthis_default_style" style="display:inline; float:left"><a class="addthis_button_tweet"></a></div><div class="addthis_toolbox addthis_default_style" style="display:inline; float:left"><a class="addthis_button_facebook_like" fb: like:layout="button_count"></a></div><div style="display:inline; float:left"><a href="http://www.addthis.com/bookmark.php?v=250&amp;username=fleetcardsusa" class="addthis_button_compact">Share</a></div></div><script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=fleetcardsusa"></script>.

Another question is, I was able to put a new button in the editor toolbar of the sitefinity blog, but I was not able to set the image in the button, how can I do that?

thanks and greetings
Ivan Dimitrov
Telerik team
 answered on 28 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?