Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
150 views

Every time i want to see live examples i get this
Server error '/RadControls_Prometheus'.

configurations error

C:\Program Files\Telerik\RadControls for ASPNET AJAX Q1 2008\Live Demos\web.config    Linje: 78
Linje 78: 			<add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"></add>

My system is Vista Home
what is wrong

Can i use it with DNN or must i upgrade

Todd Anglin
Top achievements
Rank 2
 answered on 06 Oct 2008
2 answers
118 views
I have a bit of a weird problem here. Everytime I go into Client.net -> My Client.net, IE crashes.

This happens on 2/3 of the tested computers. All 3 computers that it happens on have been recently upgraded, and windows XP reinstalled.

Both problem PC's have had the OS reinstalled but to no avail.

Has anyone else had this problem?

Oh and I posted it here because I could not find a place to post about the site, and I gather it is one of the controls doing it.
Todd Anglin
Top achievements
Rank 2
 answered on 06 Oct 2008
2 answers
122 views
Hi Guys,

I have a RadComboBox who'se items are bound from a SQL table using "AppendDataBoundItems."  When my page initially loads, the data is bound only once (as expected).  Every time, however, I either run a query on the page, or hit the "Clear" button (which clears all of the fields from their selected values), this data gets appended again, & again, & again...

Scenario:
1.  The page loads, and the values are appended once.
2.  I run a query, and the values are appended again, showing up 2 times in the dropdown.
3.  I hit the clear button, and the values are appended again, showing up 3 times in the dropdown.

All I need is for this data to be appended once (when the page initally loads), and no other times.  Here's my corresponding code...

ASPX Page:

 <radC:RadComboBox ID="CodeDescPermType" runat="server" DataSourceID="SqlDataSource1" AppendDataBoundItems="True"
            SkinsPath="~/RadControls/ComboBox/Skins" Width="150px" DataTextField="CodeDesc" DataValueField="CodeDesc" ExpandEffect="Barn" MarkFirstMatch="True">
            <Items>
                <radC:RadComboBoxItem ID="RadComboBoxItem2" runat="server" Text="- Select Permit Type -" Value="- Select Permit Type -" />
            </Items>
        </radC:RadComboBox>

<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="CodeDescPermType"
            ErrorMessage="* Must Select Permit Type" Operator="NotEqual" ValueToCompare="- Select Permit Type -"></asp:CompareValidator>


        <asp:SqlDataSource ID="SQLDataSource1" runat="server" ConnectionString = "<%$ ConnectionStrings:BuildingInspPermits %>"
            SelectCommand="SELECT [CodeDesc] FROM [BLDG_PERMIT_TYPE_CODES] "></asp:SqlDataSource>



ASPX.VB Page (That Clears the Value When the "Clear" Button's Selected):

    Protected Sub btnClear_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnClear.Click
        lblMsg.Text = ""
     CodeDescPermType.ClearSelection()
 ' RadComboBoxItem2.ClearItems()
  StartDate.Text = StartDate.MinDate
  EndDate.Text = EndDate.MaxDate
        gvRoutes.Visible = False

End Sub


I know this is terribily simple, but I just can't seem to figure it out.  Any help would be greatly appreciated...  Thanx!


- Tav






Tavoris
Top achievements
Rank 1
 answered on 06 Oct 2008
1 answer
111 views
I change the size of spliter panes, dock the panes and do other changes but after postback everything goes to default view, how to make it remember the last view?
Tsvetie
Telerik team
 answered on 06 Oct 2008
8 answers
201 views
I have a RadComboBox in an EditItemTemplate in my RadGrid. The problem is that I need different data source for the combobox in Insert and Edit modes.

How can I switch the datasource dynamically?
Sebastian
Telerik team
 answered on 06 Oct 2008
3 answers
138 views
Hi, Telerik folks!

I'm considering moving from RadEditor to Radeditor Ajax.  One issue I've come up against is that when I used the Image Editor in the Image Manager, and set the opacity filter and saved the image, it showed a lighter version of the image but saved a darker version of it.  I'm using the 10/1 release on IE6 and Firefox 3.0.2 on Windows XP Pro.

Thanks.

Laurie
Lini
Telerik team
 answered on 06 Oct 2008
1 answer
98 views
Dear Telerik,

I have two Grids among a few other controls on the page. When an item is double-clicked in Grid1, I would like the server to perform some action, and then to inform Grid2 and the other controls if the action was successful or not. However, in order to perform this action, the server has to know Grid2's (or another Tree control) state. In other words, before the server can perform this action, it has to know what items are currently displaying in Grid2, or in another Tree control. What do you suggest is the best way to go about doing this?  I am currently calling a web service to get data back from the server to populate my grids and other controls, as suggested by Nikita Gourme.
(Reference: http://www.telerik.com/community/forums/thread/b311D-bgbmad.aspx).  Is there a way for the web service/server to ask the client what items are displaying in Grid2 ?

Best Regards,
Alex
Nikita Gourme
Top achievements
Rank 1
 answered on 06 Oct 2008
2 answers
130 views
Hi

Iam creating a FormTemplate. And i have alot of textfields and number fields which are easily bound using the Bind("") method.


However i have some fields that are not databound and i have a color picker which cant seem to be databound (my color value may be null)
I also have a ComboBox where the selected value may no longer exist.

I think i need to manually insert the values when an Edit is started and ended. However how should i do this ?

Currently i use 

e.Item.OwnerTableView.ExtractValuesFromItem(newValues, editedItem);

Which works very well however i cant access none databound items using this, can i ?

I have added an example of a Bound RadTextBox and an unbound colorpicker.

<tr> 
                <td> 
                    Kommentar</td> 
                <td> 
                    <telerik:RadTextBox ID="RadTextBox6" Runat="server"   
                        Width="125px" Text='<%#Bind("ingredient_comment") %>'>  
                    </telerik:RadTextBox> 
                </td> 
            </tr> 
            <tr> 
                <td> 
                    Farve</td> 
                <td> 
                    <telerik:RadColorPicker ID="RadColorPicker1" Runat="server"   
                        CurrentColorText="(Nuværende farve er {0})" NoColorText="Ingen farve"   
                        PickColorText="Vælg farve" Preset="Standard" ShowIcon="True" SelectedColor='<%#Bind("ingredient_color") %>'>  
                    </telerik:RadColorPicker> 
                </td> 
            </tr> 
mSchmidt
Top achievements
Rank 1
 answered on 06 Oct 2008
3 answers
98 views
 The event OnTextChanged of the RadNumerickPicker don't call the method DayOfWeek_TextChanged on the server-side. May you help with any idea of what's the problem?

            <telerik:RadGrid ID="Grid" runat="server" Skin="Office2007" HeaderStyle-Font-Size="X-Small" FooterStyle-Font-Size="X-Small" 
            AutoGenerateColumns="False"  AllowPaging="false" AllowMultiRowSelection="True" OnNeedDataSource="Grid_NeedDataSource"  
            ShowGroupPanel="false" GridLines="None" ShowFooter="true" FooterStyle-BackColor="WhiteSmoke"  
            FooterStyle-Font-Bold="true" Width = "99%" EnableViewState="True" 
            FooterStyle-ForeColor="Black" OnItemDataBound="Grid_ItemDataBound"  
            OnItemCreated="Grid_ItemCreated" meta:resourceKey="GridResource1"
                <ClientSettings AllowColumnsReorder="false"  ReorderColumnsOnClient="false"
                    <Selecting AllowRowSelect="True"  /> 
                    <Resizing AllowColumnResize="false"  /> 
                    <Scrolling AllowScroll="false" UseStaticHeaders="true"  /> 
                </ClientSettings> 
                <MasterTableView TableLayout="Fixed" > 
                    <Columns>  
                        <telerik:GridClientSelectColumn UniqueName="colSel" Visible="true"
                            <HeaderStyle Width="30px" /> 
                            <ItemStyle Width="30px" /> 
                        </telerik:GridClientSelectColumn> 
                        <telerik:GridBoundColumn Visible="True" DataField="ProjectName" UniqueName="ProjectName" meta:resourceKey="colProjectName"
                            <HeaderStyle Font-Bold="true" Width="155px" />                                             
                            <ItemStyle Width="170px" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridTemplateColumn Visible="True" UniqueName="DayOfWeek1"
                            <HeaderStyle Width="70px" /> 
                            <ItemStyle Width="70px" /> 
                            <ItemTemplate> 
                                <telerik:RadNumericTextBox ID="ntbDayOfWeek1" runat="server" Skin="Office2007" Width="50px" 
                                    Font-Names="Verdana" Font-Size="X-Small" OnTextChanged="DayOfWeek_TextChanged" AutoPostBack="true"
                                </telerik:RadNumericTextBox> 
                            </ItemTemplate> 
                        </telerik:GridTemplateColumn> 
                    </Columns> 
                </MasterTableView> 
            </telerik:RadGrid> 

Leonardo Amorim de Barros
Top achievements
Rank 1
 answered on 06 Oct 2008
14 answers
784 views

Can you help me shed some light on the following issue?

Problem:

I have a grid with in-place edit and three records.  One column is a griddropdowncolumn.  When the grid loads, the values are not displayed for this column. 

When I enter the edit mode, values are rendered in this column.

Case A:

If I press the edit button on the first record the dropdown is populated, the correct value is selected in the dropdown and the remaining two records now have a value displayed in this column.  If I cancel the edit and return to the gridview the column no longer displays values in this column for any of the records. 

Case B:

If I press the edit button of the middle record the dropdown is populated, the correct value is selected in the dropdown, the first record does not display a value for this column but the third record does display a value for this column.  If I cancel the edit and return to the gridview the column no longer displays values in this column for any of the records

 

Detail about the grid and the GridDropDownColumn:

The grid and its dropdown column are bound to datatables contained within the same dataset. 

The griddropdowncolumn is defined as follows:

<telerik:GridDropDownColumn

 DataField="Country_code"        (field name in the grid source)

GroupByExpression="Country_Code"

HeaderText="Country Code" 

SortExpression="Country_Code"

UniqueName="Country_Code"

ListTextField="Name"                   (field name in dropdown source)

ListValueField="Country_code"  />         (field name in dropdown source)

 

The grid is bound to a datatable in the dataset during the NeedDataSource event.

                grdAccounts.DataSource = BusinessAccounts.Tables["Business_Accounts"];

When in EditMode the dropdowncolumn is bound to one of the datatables in the dataset during the ItemDataBound event.

GridEditableItem editedItem = e.Item as GridEditableItem;

               GridEditManager editMan = editedItem.EditManager;

               GridDropDownColumnEditor editor =

                            editMan.GetColumnEditor("country_code") as GridDropDownColumnEditor;

               editor.DataSource = BusinessAccounts.Tables["Countries"];

               editor.DataBind();

               editor.SelectedValue = editedItem.GetDataKeyValue("Country_Code").ToString();

The ListValueField and the DataField are the same data type and length.

Thanks for your help.

 

Sharon Kalupske
Top achievements
Rank 1
 answered on 06 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?