|
.netman wrote: if(e.Row.Rowtype==DataControlRowType.DataRow)
error:
'System.Web.UI.WebControls.GridViewRow' does not contain a definition for 'Rowtype'
Sorry it is RowType not Rowtype.
c# is case sensitive
if(e.Row.RowType==DataControlRowType.DataRow)
please don't forget to vote on the post that helped you.
|
|
|
|
|
ok thanks that worked now, i should have noticed that!
Next problem is what should currentid be, you put it in your previous post but wat is it?
thanks so far
|
|
|
|
|
OK got it sorted, maanaged to set the current id
thanks for your help!
|
|
|
|
|
If you want to know the current GridViewRow:
DropDownList dd = ((DropDownList)row2.FindControl("ddorder"));
GridViewRow row = (GridViewRow)dd.NamingContainer;
Then you have the complete Row with values from the gridview in your OnSelectedIndexChanged for the DropDownList
|
|
|
|
|
hi,
i need 2+ year question and answer ..... in asp.net and c#.net......
can any one help me
redards,
vidhya.s
|
|
|
|
|
|
|
i need a asp.net questions for interview process can u help me
|
|
|
|
|
so you want us to ask you questions pretending that your an interviewee and we are the interviewer?
|
|
|
|
|
|
Dont vote me 1 just because I am confused by your strange question!!
|
|
|
|
|
cse.vidhya wrote: i need a asp.net questions for interview process can u help me
Yes. Here is the questions
1 - How to use google ?
A) Here[^]
2 - How do you post questions in a technical forums ?
A) here[^]
|
|
|
|
|
Hi...
I am having datagrid. In that i have button column in all the rows. Now on click of button column, grid's DeleteCommand event gets called. But i want to show the no of records affected by deleting and if user press ok , then only this Delete Command should perform delete operation.
How to do this... Plz help...
|
|
|
|
|
You should use a confirm extender control which is ajax.
check this out
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ConfirmButton/ConfirmButton.aspx
|
|
|
|
|
Instead of putting delete button on each row, you can put a check box on each row so that you will get a list of records to be deleted or modified. If you put delete button on each row, there will be only one record for delete at a time.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Hi,
I am retriving metadata from database .
user can schedule the datetime and status(daily ,weekly,monthly,yearly).
based on this information scheduling will be started and retriving the metadata by using threads.
please help me and send me the code as soon as possible.
regards,
vijay
Vijay
|
|
|
|
|
Dear All,
I have a grid view in my application, which contains child grid for each and every row bounded to it.
I want to have paging in the child grid and I have assigned an event handler for it in the code while binding it to the main grid.
But it is not triggered.
Can any one help me to resolve this issue?
Thanks a lot in advance.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
i receive a value on form from mobile device i get xml and image in mime type which can be .jpeg, .png or any thing else picture format. i am parsing xml and store in database and now i have a problem that how i can change picture in original format from mime type file.
thanks in advance
|
|
|
|
|
Please don't do repeated posting.
|
|
|
|
|
ok there is any answer of my question.
|
|
|
|
|
i have a mater page and i create all menu in a href link (all in td tag) which open a new page. when i click like home then i want use java script on onclick event of that link a background image of td is changed.
|
|
|
|
|
can you explain that again please, the end of the post doesnt make sense
|
|
|
|
|
i want to know i use javascript for master page control like i made a table for my menu box and there i show a href link and i want that when user click on link like home then home should be look like clicked means there will be a image in background of that a href and all not have that image but when that menu is called then there will be a image.
|
|
|
|
|
This is what you asked for:
onclick="this.parentNode.style.backgroundImage='url(someimage.gif)';return false;"
However, I don't really think that this really is what you meant. It doesn't make much sense to have a menu that doesn't do anything other than change it's apperance.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
i have a master page there is a menu bar which is created in table and all td have an a href tag of html. there are five td name home, contact, profile, portfolio etc. now when i click contact then i want that contact page open but image will be apper which show that this time contact button is clicked.
advance thanks.
|
|
|
|