Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
48 views
Hi

Where have used Skin="Windows7" in our grid controls. The rest is fine, we just want to increase the color
shade of blue a little more and we would like to use the same through out the application.

How to i extract files related to "Windows7" skin and just adjust color tone whereever required.

Regards
JD
Mira
Telerik team
 answered on 04 Oct 2011
7 answers
300 views
Hello,
I have the same problem of this thread
http://www.telerik.com/community/forums/aspnet-ajax/grid/column-names-are-shown-instead-of-column-captions.aspx

I did as explained there, it works.
Unfortunately, as i click on a row, header captions go back to their colum names. How can i solve it?


Beside, is there a way to have header text vertically instead fo horizontally, I mean from top do bottom
Thank you
Shinu
Top achievements
Rank 2
 answered on 04 Oct 2011
1 answer
82 views
Hello,

I am using the LoadOnDemand scenario which works as documented. But I have a problem with the dropdown feature. As long as there is no item yet, a click on the dropdown arrow loads all items resp. triggers the  ItemsRequested event. However, once there is at least one item, this doesn't happen anymore. I would like to add a default item on the initial page load and load all other items when the dropdown arrow is clicked.

How can I do this?

Regards,
Conrad
 

Shinu
Top achievements
Rank 2
 answered on 04 Oct 2011
1 answer
85 views
Mmmm i need to develop 2 sites (diferent project).
The first project i need to use telerik version 2007.
in the second proyect i need to use the new version.
every project is for different customer.


But I need to have installed and develop in the same machine.

It's is possible?...
Shinu
Top achievements
Rank 2
 answered on 04 Oct 2011
2 answers
974 views
Hello,
I have a RadGrid (q2 2008)
The first column is template column with a textbox.

I want to iterate through all the rows and get the value of the textbox and perform an database action. How do I setup the iteration?

thanks!
prat
Top achievements
Rank 1
 answered on 04 Oct 2011
5 answers
136 views

I've been working on this issue all weeken and have read almost every post and demo related to the RadGrid and to the RadAjaxManager,  Hopefully I've posted enough informatio to get a clear understanding of my issue
I’m using a CommandItem Templete to add a new record to a grid with a custom form.  I have the “add new record” linkbutton working but I need some help with the grid refresh when the radWindow closes.  I'm using the sample that opens a radWindow and then passes back informtion to the parent form with the OnClientClose .  I’m also using DotNetNuke as my platform and I’ve creates a usercontrol for my module.  I would like the Grid to refresh when I close the radWindow that has the form.  I’m using the return to parent that is in one of the demos but I cannot get any type of grid refresh to work outside of calling a page reload.  It seems that the problem is in the fact that I need to programmatically add the radAjaxManager programmatically to the page.  I’ve tried using
Dim manager As New RadAjaxManager()
manager.ID = "RadAjaxManager1"
Me.Page.Form.Controls.Add(manager)

But if I try to immediately test it with
value = TryCast(Me.Page.Items(GetType(RadAjaxManager)), RadAjaxManager) I come back with nothing.

Also if I put

function refreshGrid(arg) {
                  if (!arg) {
                        var mgr = $find('<%=RadAjaxManager.GetCurrent(Page).ClientID %>');
                               mgr.ajaxRequest("Refresh")
                                return false;       
                    }
        }
I get this error:
A critical error has occurred.Object reference not set to an instance of an object.
I have added:
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
 <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
           <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>

The bottom line is that I cannot get the RadAjaxManager1_AjaxRequest to fire so I can run   RadGrid1.MasterTableView.SortExpressions.Clear()
        RadGrid1.MasterTableView.GroupByExpressions.Clear()
        RadGrid1.Rebind()

I have added   window.location.reload(true); to the OnClientClose function and that refreshes the grid currently but that is not the smoothest way.  All help is appreciated.

Bill

William
Top achievements
Rank 1
 answered on 04 Oct 2011
4 answers
201 views
Hi,
My RadGrid not able to get back to display mode after user inser data.
This is the scenario
1). Have the command Name to InitInsert so that RadGrid enter insert data mode.
2).When user click button add ,it call command PerformInsert which in turn fire event RadGrid.InsertCommand.
3).User input is inserted to database and  RadGrid.Rebind() is called in order to refresh added data.
4).However the RadGrid is not able to go  back to display mode. There is 1 more addtional row there for user to key in their input.
Help Please!!


johnson lim
Top achievements
Rank 1
 answered on 04 Oct 2011
1 answer
73 views
Hello,

Our application is using a custom resource provider that fetches it's strings from a database.  Is there a way to either:

a) Have telerik ignore the custom provide and use it's own resource file
b) get a list of the resource keys and values so they can be duplicated in our database

A sample of what is being displayed is attached.  The "???" is the default string returned when the resource key is not found in the database.

Thank you.
Aisha Khurshid
Top achievements
Rank 1
 answered on 03 Oct 2011
4 answers
255 views
Hi All,
I have 2 level grid with MasterTableView and DetailTables. I am using ObjectDataSource to bind data to both of the master and detail tableview. I want to be able to access the rows (or DataItems) in detail table. I have the DetailTableDataBind event defined and which is being firing too. Unfortunately I can not enumerate through the list of Items as I'm getting empty Items list.
Please guide on how can I access the Items in DetatlTable. There is a DataBound event for the DetatlTableView which does nt seem much useful as its event argument is just regular System.EventAgrs. Is there any ItemDataBound event exist for the DetatlTableView ?
Any help on this ?

Thanks
Tejas
Top achievements
Rank 1
 answered on 03 Oct 2011
8 answers
522 views
I am having a problem with duplicate items in my listbox. I am using a RadListBox and a RadGrid. Each row in the grid has a checkbox and when the box is checked that item is added to the listbox with javascript (below.) After the user is done checking boxes they click a submit button and I am able to read the items from the list in the server side event handler.

The problem happens when the user changes pages on the grid. If they check 1 box from the first page and then go to the second page, the listbox will correctly show 1 item, but on the server side there will be 2 in the .Items collection. I added a breakpoint to the PreRender handler and found that the duplicate wasn't there yet. It is added after all the page is loaded, but I also added an alert box to the js below and it never fires on the second page of the grid. I can't figure out where the duplicate is coming from.

Any idea what's causing this?

function CheckChanged(sender, invoiceNumber) {  
    var listbox = $find("<%=lstInvoiceNoteEntry.ClientID %>");  
    if (sender.checked) {  
        var item = new Telerik.Web.UI.RadListBoxItem();  
        item.set_text(invoiceNumber);  
        listbox.trackChanges();  
        listbox.get_items().add(item);  
        listbox.commitChanges();  
    }  
    else {  
        var item = listbox.findItemByText(invoiceNumber);  
        listbox.trackChanges();  
        while (item) {  
            listbox.get_items().remove(item);  
            item = listbox.findItemByText(invoiceNumber);  
        }  
        listbox.commitChanges();  
    }  
}  
Anjali
Top achievements
Rank 1
 answered on 03 Oct 2011
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?