Hi,
I need to highlight the row on mouse over . So i am planning to make the rows selected
on mouse over and make the rows unselected on mouse out. How can i do that in client side?
This selection and unselection should happen for both child brands also.
I have check the documentation where it is given to check for "get_gridView()" object
get_gridView()" object
which i am unable to get. Please help me.
Thanks and Regards,
Kiran
Hi Kiran,What is your code where you cannot find the grid view? you need to find the WebHierarchicalDataGrid to use that method.
Another option you might consider is something similar to this forum post. Here, Alex gives code to implement a highlight row behavior. This would probably do what you want.
regards,David Young
Hi David Young,
Thanks for immediatle reply. I saw the example explained there by Alex. Yes this is what i am expecting. But I am doing this in webdatagrid like following.
following is the sample aspx code. the font that is in bold is the code to concentrate.
Now my question is how can i do the same thing in WebHierarchicalDataGrid ?
as we are not having these events in the WebHierarchicalDataGrid . and we have bands row also,i mean child rows highlight.
Hi Dave,
Thanks for communicating back immediatly. I have prepare a runable to code to reproduce the issue. The attached zip file contains web page , usercontrol in usercontrols folder, and related classes in App_code folder. These can be included in the solutions and set the HierarchicalGrid.aspx page the as the starting page. Following is the procedure to reproduce issue.
1) Run the application the grid with few records will be dispalyed.
2) row selection on mouse works good now.
3)one of the column in the grid contains an image button. click on that .
4) now move the mouse to check the row selection . Now error will be thrown.
Hi Kiran,
I was able to replicate the problem. It looks like for some reason the cell index offset is coming back incorrect. However, I was able to get the error to disappear by no longer have EnableDataViewState and assigning the data source on every postback. I just used the one you were already saving into the Session. It does look like there is some odd stuff going on with data binding. I'm going to have one of my colleagues more familar with the binding examine your website.
-Dave
Thank you dave, but we need the row selection with setting EnableDataViewState to true. Where can i get the binding details or sample to bind dynamically as i am doing in my website which i earlier attached.
kiran
can you please let me know whether we can get this working with EnableDataViewSate setting to true.
Thanks and Regards
Hello pkirankumar,
You can do that, just refer the following link how to select row in client side :
http://help.infragistics.com/NetAdvantage/ASPNET/2010.2?page=WebDataGrid_Row_Selection.html
Hope this helps
Hi ,
Thanks for reply .I am already using thos methods. My problem i have clearly mentioned in the following post "http://community.infragistics.com/forums/p/44495/246913.aspx#246913" .I am expecting a reply for that problem.
Thanks and regards,