Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
140 views
Hi,

There is a RadNotification in my web application in which the contents are fetched from database and loaded using a webservice. I want the RadNotification to check periodically and display latest content as some new values are updated in the database.

Please help,
JC.
Princy
Top achievements
Rank 2
 answered on 18 Feb 2013
1 answer
60 views
Hi,

How can I change the default background color of the Autocompletebox pop up Items when mouse hovered?

Thanks
Teena
Princy
Top achievements
Rank 2
 answered on 18 Feb 2013
4 answers
162 views
Is it possible to edit the display text for the RadFilter Expressions? For instance, on the RadFilter, you see an Expression for "StartsWith" - is it possible to edit that text (to enter a space for example: "Starts With"), but not actually change the functionality of the expression object?

I don't want to have to implement my own set of expressions, just alter the display text of the items already there.

Thanks
Fergal
Angel Petrov
Telerik team
 answered on 18 Feb 2013
11 answers
603 views
Hallo,
first of all congratulations for you suite, i find it to be the best asp.net suite ever!

I have the following problem,
i want the user to be able to perform multiple, concurrent edits in a radgrid and the update them all together.
I found a sample of yours regarding "batch update" which works perfect and i have set the AllowMultiRowEdit="True" so that the user can edit multiple rows.

The problem is that if a user begins editing one row, changes some data and THEN begins editing another row, although both of these rows will be in edit mode, all the changes before  the last "Edit" Command will be lost!

I have checked this with your samples too and they have the same malfunction ( or functionality :)  ).

I tried to get the existing data from the previous editing rows inside the RadGrid1_ItemDataBound event like this:

  
            if (e.Item is GridDataItem && e.Item.IsInEditMode) 
            { 
                GridEditableItem dataItem = e.Item as GridEditableItem; 
                dataItem["AutoGeneratedEditColumn"].Controls[0].Visible = false; 
 
                Hashtable newValues = new Hashtable(); 
                e.Item.OwnerTableView.ExtractValuesFromItem(newValues, dataItem); 
 
                string sPosition = (dataItem["Position"].Controls[0] as System.Web.UI.WebControls.TextBox).Text; 
            } 

Neither newValues nor sPosition has the changed values for the previously edited items.
They all have the original values.

Is there any workaround?

Thanks in advance!


Andrey
Telerik team
 answered on 18 Feb 2013
3 answers
186 views
Hi,

I have a Radgrid on a main page, that when a record is double clicked, a radwindow opens up to update a record. There is a radgrid inside the Radwindow that is opened. Inside the radgrid that is inside the radwindow, I can set a record to be inactive and only be visible to certain users.

The Radgrid in the main page has one DetailTable. This detail table displays the information from the radgrid inside the radwindow. I want those records that I set to inactive to NOT be visible in the Radgrid in the mainpage. Is there a way to do this?

URGENT!

I am working in vb.net
Shinu
Top achievements
Rank 2
 answered on 18 Feb 2013
1 answer
48 views
does anyone have anything like this. Or how I would make something like it?

My clients like the one button click. I guess an alternative would be a combo box but that would require 2 clicks

Thanks,

Marty
Antonio Stoilkov
Telerik team
 answered on 18 Feb 2013
7 answers
317 views
Hi
We have facing rounded corner issues and padding in internet explorer.
Also legend color is different both IE and Moz ..not checked in Chrome yet. :(
Please refer the attachment.
Vargis
Top achievements
Rank 2
 answered on 18 Feb 2013
1 answer
61 views
Hi 

Telerik Grid return this filter :

(iif(Description == null, "", Description).ToString().Contains("2")) AND (CodeType = 2)

What is mean of "iif"?and if we can pass this filter to "SqlCommand where section"?

Telerik.Web.UI 2012.3.1205.45

Best Regards
Andrey
Telerik team
 answered on 18 Feb 2013
1 answer
84 views

 this is my codeblock
Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadGrid, {"ClientID":"ctl00_ContentPlaceHolder1_ucExtendedInfo_grdComprehensiveParts","ClientSettings":{"AllowAutoScrollOnDragDrop":true,"ShouldCreateRows":true,"DataBinding":{},"Selecting":{"CellSelectionMode":0},"Scrolling":{},"Resizing":{},"ClientMessages":{},"KeyboardNavigationSettings":{"AllowActiveRowCycle":false,"EnableKeyboardShortcuts":true,"FocusKey":89,"InitInsertKey":73,"RebindKey":82,"ExitEditInsertModeKey":27,"UpdateInsertItemKey":13,"DeleteActiveRow":127,"ExpandDetailTableKey":39,"CollapseDetailTableKey":37},"Animation":{}},"Skin":"Default","UniqueID":"ctl00$ContentPlaceHolder1$ucExtendedInfo$grdComprehensiveParts","_activeRowIndex":"","_controlToFocus":"","_currentPageIndex":0,"_editIndexes":"[]","_embeddedSkin":true,"_gridTableViewsData":"[{\"ClientID\":\"ctl00_ContentPlaceHolder1_ucExtendedInfo_grdComprehensiveParts_ctl00\",\"UniqueID\":\"ctl00$ContentPlaceHolder1$ucExtendedInfo$grdComprehensiveParts$ctl00\",\"PageSize\":7,\"PageCount\":1,\"EditMode\":\"InPlace\",\"AllowPaging\":true,\"CurrentPageIndex\":0,\"VirtualItemCount\":0,\"AllowMultiColumnSorting\":false,\"AllowNaturalSort\":true,\"AllowFilteringByColumn\":false,\"PageButtonCount\":10,\"HasDetailTables\":false,\"HasMultiHeaders\":false,\"PagerAlwaysVisible\":false,\"IsItemInserted\":false,\"clientDataKeyNames\":[],\"hasDetailItemTemplate\":false,\"_dataBindTemplates\":false,\"_selectedItemStyle\":\"\",\"_selectedItemStyleClass\":\"rgSelectedRow\",\"_columnsData\":[{\"UniqueName\":\"EditCommandColumn\",\"Resizable\":true,\"Reorderable\":true,\"Selectable\":false,\"Groupable\":false,\"ColumnType\":\"GridEditCommandColumn\",\"ColumnGroupName\":\"\",\"DataTypeName\":\"System.String\",\"Display\":true},{\"UniqueName\":\"TemplateColumn\",\"Resizable\":true,\"Reorderable\":true,\"Selectable\":true,\"Groupable\":true,\"ColumnType\":\"GridTemplateColumn\",\"ColumnGroupName\":\"\",\"DataTypeName\":\"System.String\",\"DataField\":\"\",\"Display\":true},{\"UniqueName\":\"TemplateColumn1\",\"Resizable\":true,\"Reorderable\":true,\"Selectable\":true,\"Groupable\":true,\"ColumnType\":\"GridTemplateColumn\",\"ColumnGroupName\":\"\",\"DataTypeName\":\"System.String\",\"DataField\":\"\",\"Display\":true},{\"UniqueName\":\"TemplateColumn2\",\"Resizable\":true,\"Reorderable\":true,\"Selectable\":true,\"Groupable\":true,\"ColumnType\":\"GridTemplateColumn\",\"ColumnGroupName\":\"\",\"DataTypeName\":\"System.String\",\"DataField\":\"\",\"Display\":true},{\"UniqueName\":\"TemplateColumn3\",\"Resizable\":true,\"Reorderable\":true,\"Selectable\":true,\"Groupable\":true,\"ColumnType\":\"GridTemplateColumn\",\"ColumnGroupName\":\"\",\"DataTypeName\":\"System.String\",\"DataField\":\"\",\"Display\":true},{\"UniqueName\":\"TemplateColumn4\",\"Resizable\":true,\"Reorderable\":true,\"Selectable\":true,\"Groupable\":true,\"ColumnType\":\"GridTemplateColumn\",\"ColumnGroupName\":\"\",\"DataTypeName\":\"System.String\",\"DataField\":\"\",\"Display\":true},{\"UniqueName\":\"TemplateColumn5\",\"Resizable\":true,\"Reorderable\":true,\"Selectable\":true,\"Groupable\":true,\"ColumnType\":\"GridTemplateColumn\",\"ColumnGroupName\":\"\",\"DataTypeName\":\"System.String\",\"DataField\":\"\",\"Display\":true},{\"UniqueName\":\"DeleteColumn\",\"Resizable\":true,\"Reorderable\":true,\"Selectable\":false,\"Groupable\":false,\"ColumnType\":\"GridButtonColumn\",\"ColumnGroupName\":\"\",\"DataTypeName\":\"System.String\",\"ButtonType\":\"ImageButton\",\"CommandName\":\"Delete\",\"CommandArgument\":\"\",\"Text\":\"Delete\",\"DataTextField\":\"\",\"DataTextFormatString\":\"\",\"ImageUrl\":\"/Views/Vital Software Pty Ltd_files/Delete.gif\",\"Display\":true}]}]","_masterClientID":"ctl00_ContentPlaceHolder1_ucExtendedInfo_grdComprehensiveParts_ctl00","_shouldFocusOnPage":false,"allowMultiRowSelection":false,"clientStateFieldID":"ctl00_ContentPlaceHolder1_ucExtendedInfo_grdComprehensiveParts_ClientState"}, {"rowDblClick":RowDblClick1}, null, $get("ctl00_ContentPlaceHolder1_ucExtendedInfo_grdComprehensiveParts"));
});

  Getting error in IE browser as jscript:Rowdblclikc undefined except ie it is working fine in chrome and mozilla  browser,
<telerik:RadCodeBlock ID="RadCodeBlock2" runat="server">
    <script type="text/javascript">
        function RowDblClick(sender, eventArgs) {
                sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
        }
           </script>
</telerik:RadCodeBlock>
 
<ClientSettings>
                        <ClientEvents OnRowDblClick="RowDblClick"></ClientEvents>
                    </ClientSettings>


Thanks in advance.
Antonio Stoilkov
Telerik team
 answered on 18 Feb 2013
1 answer
245 views
Question 1:

I have a radgrid, the key index id QuestionID (DataKeyNames="QuestionID"). I have a move Up and Down radbutton - template column.   I need to switch the order when click the move up and down. At my back table, there is a field ordernumber, everytime I click the Up/Down, I need to update the ordernumber in back db and rebind the grid.  Is there a way that I can find the previous row's QuestionID on "ItemCommand" server side when I click "Up" button so that I can update the ordernumber for previous row?

I am able to make this work on a grid without filter. Basic I get QuestionID from my QuestionList, but after after filtering of the grid, it doesn't work any more, since my  QuestionList still the original QuestionList, not the List after filtering. Not sure how to get the QuestionList on serverside after filtering.



Question 2:

I need hide one of the column when do the filtering, how I do that?

Thank you!
Shinu
Top achievements
Rank 2
 answered on 18 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?