Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
114 views
I'm having an issue with setting the RadComboBox property "MakeFirstMatch" equal to "true" when using it with the RadAjaxManager.  I get the following exception:  "Conversion from string "" to type 'Integer' is not valid."

It works perfectly fine when "MakeFirstMatch" is set to false... am I trying to do the impossible?
David
Top achievements
Rank 1
 answered on 14 May 2008
1 answer
185 views
I have a User Control that is being displayed as a RadGrid Edit control.  In the User Control I have 3 Rad Numeric Text Boxes that the user may change, these are then totaled into a fourth Rad Numeric that is read only.  I had a javascript function written that was updating the total box and it was assigned to each of the other three's OnBlur ClientEvent.  This was all working (in Promethus) until I upgraded to the latest release of ASP.NET Ajax.  Now I get a function (updateTota) not defined.

I have a master page with a RadAjaxManager and Script manager on it.  The page with the grid has a RadAjaxProxy along with a radComboBox and radGrid.  The Grid uses the user control when and edit is selected.  When the edit user control is displayed I get the function not defined error.

Any help would help as I have tried everything I can thing of.  Not sure if I maybe somhow need to now tie into the scriptmanager to write out the javascript so it can be seen??????
John
Top achievements
Rank 1
 answered on 14 May 2008
3 answers
189 views
Hello,

I've taken a copy of the code from the My Portal demo and when running it am having a problem I can't solve.

Running the online demo works with no problems. When running the local project I can add docks to either zone. The problem arises when either moving them around, minimising or clicking in the dock title - all the docks disappear.

From what I've been able to work out every second time RadDockLayout1_saveDockLayout fires the call to GetRegisteredDockState  returns an empty collection. This empty collection is then saved to session

Is there something obvious that I've missed?

Thanks,
Brad.
Sophy
Telerik team
 answered on 14 May 2008
8 answers
248 views
I have a need to use ASP.NET AJAX > RADTreeview...
Is there an example/explaination for setting up a Treeview with...
Live >Sorting - Filtering - Grouping
Any suggestions/guidance would be appreciated
Regards
Tony M
Tony Moriarty
Top achievements
Rank 1
 answered on 14 May 2008
4 answers
196 views
Hi, All:

I am using RadGrid and trying to implement "Update All" feature.

I explicitly pass in null, but save as '01/01/1900/ to database table.

protected void rgJobInv_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
{
if (e.CommandName == "UpdateAll")
{
foreach (Telerik.Web.UI.GridEditableItem editedItem in rgJobInv.EditItems)
{
Hashtable newValues = new Hashtable();
e.Item.OwnerTableView.RetrieveNullAsDBNull =
true;
e.Item.OwnerTableView.ExtractValuesFromItem(newValues, editedItem);

sdsUpdateAll.UpdateCommand =

string.Format("update tblJobInventory set District='{0}', ......" +
", Shipped = '{15}' " +
", Billed = '{16}' ....."

, newValues[

"District"].....
,
null /*newValues["Shipped"]*/
, null /* newValues["Billed"]*/

In database table, "Shipped" and "Billed" is smalldatetime type.
I pass in null, but both "Shipped" and Billed are saved as '01/01/1900'.
even when I pass newValues["Shipped"], which is null, but still it was saved
as '01/01/1900'.

Please give some ideas.
thanks.

Stanley Huang


Rosen
Telerik team
 answered on 14 May 2008
4 answers
205 views
Hello
I have a grid set up like so:

<radG:RadGrid ID="RadGrid1"  runat="server"  Skin="UCITGrid" AllowPaging="True"  AllowSorting="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" EnableAJAX="True" GridLines="None" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" OnItemCommand="RadGrid1_OnItemCommand" PageSize="20">

<MasterTableView DataSourceID="SqlDataSource1" CommandItemDisplay="Top" CommandItemSettings-AddNewRecordImageUrl="../../RadControls/Grid/Skins/UCITGrid/AddRecord.png" EditMode="InPlace">

<CommandItemTemplate>
<asp:LinkButton ID="LinkButton2" runat="server" CommandName="InitInsert" Visible="true"><img style="border:0px" alt="" src="../../RadControls/Grid/Skins/UCITGrid/AddRecord.png" /> Add a New Program</asp:LinkButton>
</CommandItemTemplate>

<SortExpressions>
<radG:GridSortExpression FieldName="fldArchive" SortOrder="Ascending" />
</SortExpressions>

<Columns>

<radG:GridBoundColumn DataField="fldID" UniqueName="IDColumn" Display="False">
</radG:GridBoundColumn>

<radG:GridBoundColumn DataField="fldName" HeaderText="Name" UniqueName="NameColumn">
<ItemStyle width="70%"/>
</radG:GridBoundColumn>

<radG:GridCheckBoxColumn DataField="fldArchive" HeaderText="Archive" UniqueName="ArchiveColumn">
<ItemStyle width="15%"/>
</radG:GridCheckBoxColumn>

<radG:GridEditCommandColumn ButtonType="ImageButton" UpdateImageUrl="../../RadControls/Grid/Skins/UCITGrid/Update3.png"  EditImageUrl="../../RadControls/Grid/Skins/UCITGrid/Edit2.png"  CancelImageUrl="../../RadControls/Grid/Skins/UCITGrid/Cancel3.png" InsertImageUrl="../../RadControls/Grid/Skins/UCITGrid/Update3.png" InsertText="Save" HeaderText="Options" UniqueName="EditCommandColumn">
<ItemStyle width="15%"/>
</radG:GridEditCommandColumn>
</Columns>

</MasterTableView>

</
radG:RadGrid>

I have this in my code behind:

Protected Sub RadGrid1_OnItemCommand(ByVal source As Object, ByVal e As GridCommandEventArgs)
    
If e.CommandName = "Update" Then
        
Dim dataItem As GridDataItem = CType(e.Item, GridDataItem)
        
Dim name As String = dataItem("NameColumn").Text
        Response.Write(name)
    
End If
End Sub

For some reason, the name string contains an empty string, when in reality, there is a value assigned to it. Is there something here that I'm missing?

Please let me know. Thank you!

Mikhail
Top achievements
Rank 1
 answered on 14 May 2008
2 answers
96 views
Hi,

I am loading multiple controls using a RadTabstrip and RadMultipage combination. For the RadMultipage I have set RenderSelectedPageOnly flag to true, with one usercontrol on each pageview. On one of my controls I have a radpanelbar which hosts several RadPanelItem which intern host radcharts. After selecting a few different tabs (hence loading different controls) I get the following error in firefox (same for IE) Warning: Unresponsive script. When I debug the error I find myself within the javascript functions associated with RadPanelEventArgs:
_windowLoadHandler
->__callRadShow
->__repaintPanelBarItems
->get_expandedItems
->__findItemByHierarchicalIndex

I am quite surprised that I am within these functions as the panelbar is not being shown but I guess the event is still being fired!

When i take the radpanelbar out everything behaves as expected, but obviously I would like to keep it in; is there something I should be doing. Sorry I do not have an example to hand so hopefully I have provided enough information for you to go on!

Thanks
Bleddyn

Pivetal
Top achievements
Rank 1
 answered on 14 May 2008
14 answers
266 views
Hello there,
I am gonna use a framesets which contains multiple aspx pages. And from one of them I popup a Radwindow. By default that windwo is restricted in the page which creates it.
Is there some way that I can make the Radwindwo move across all pages in frameset?

Cheers,
Elton
Georgi Tunev
Telerik team
 answered on 14 May 2008
1 answer
234 views
Hello,
I have a question about the EnableHistory property on RadAjaxManager.
I've set this property to true, but when I do a javascript:history.back on page, ajax controls on the parent page loses its state. (selecteditems etc)

From the documentation I've read that I must enable Ajax History points. Is it true that this is only available on 3.5 extensions scriptmanagers ? When are these extensions scheduled for a final release ?

Thanks,
Nicolas
Steve
Telerik team
 answered on 14 May 2008
1 answer
147 views
Hi,

Besides the data in the RadGrid, Is it possible to export some additional information also in the excel sheet? If yes, then how?
Iana Tsolova
Telerik team
 answered on 14 May 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?