Click here to Skip to main content
   

ASP.NET

 
AnswerRe: asp.net PinmvpRichard MacCutchan20-Dec-12 23:57 
RantRe: asp.net PinmemberRichard Deeming21-Dec-12 2:31 
GeneralRe: asp.net PinmvpRichard MacCutchan21-Dec-12 3:04 
JokeRe: asp.net Pinmembern.podbielski22-Dec-12 22:54 
AnswerRe: asp.net PinmemberJ4amieC21-Dec-12 0:26 
AnswerRe: asp.net PinmemberProgramFOX21-Dec-12 0:52 
AnswerRe: asp.net [modified] PinmemberCommDev23-Dec-12 15:15 
QuestionProblem with change Gridview cell value [modified] Pinmemberjojoba201120-Dec-12 0:24 
Hi,
I have used this code to change the cell value :
 
<script type="text/javascript">
function Open(IdNeed)
{
var grid = document.getElementById('<%=gvEstelam.ClientID%>');
grid.rows[1].cells[4].innerHTML = 152;
alert(grid.rows[1].cells[4].innerHTML);
}
the alert show that the "grid.rows[1].cells[4]" value has changed to 152 and also in gridview it changed
BUT
when i click on OK button of alert then the value is change same as before(ex.500).
 
How to set the new value to remain ?
And this is my cell code :
<asp:TemplateField>
                                    <ItemTemplate>
                                        <asp:ImageButton ID="ImageEstelamBuyingKala" ImageUrl="~/ServerFile/ApplicationFiles/Icons/Button/add.png"
                                            Width="25" runat="server" OnClientClick='<%# " Open("+ DataBinder.Eval(Container.DataItem,"Id") + ");" %>' />
                                    </ItemTemplate>
                                </asp:TemplateField>
 


modified 22-Dec-12 11:03am.

AnswerRe: Problem with change Gridview cell value [modified] PinmemberCommDev23-Dec-12 15:24 
QuestionHow to add anchor tag in uploded html page PinmemberVyasRavi677619-Dec-12 19:54 
AnswerRe: How to add anchor tag in uploded html page Pinmember@AmitGajjar20-Dec-12 6:39 
GeneralRe: How to add anchor tag in uploded html page Pinmemberchirag774920-Dec-12 22:34 
AnswerRe: How to add anchor tag in uploded html page [modified] PinmemberCommDev20-Dec-12 21:04 
GeneralRe: How to add anchor tag in uploded html page Pinmemberchirag774920-Dec-12 21:14 
GeneralRe: How to add anchor tag in uploded html page Pinmembern.podbielski22-Dec-12 22:57 
GeneralRe: How to add anchor tag in uploded html page Pinmembern.podbielski22-Dec-12 22:57 
Questionjquery for asp.net sometimes work sometimes doesn't work [modified] PinmemberDhyanga19-Dec-12 12:57 
AnswerRe: jquery for asp.net sometimes work sometimes doesn't work Pinmemberjkirkerx19-Dec-12 18:25 
GeneralRe: jquery for asp.net sometimes work sometimes doesn't work PinmemberDhyanga19-Dec-12 18:50 
AnswerRe: jquery for asp.net sometimes work sometimes doesn't work Pinmemberjkirkerx19-Dec-12 19:09 
QuestionOnly 1 use for admin? PinmemberxnaLearner19-Dec-12 2:28 
QuestionHave userID in view, need userName posted PinmemberxnaLearner19-Dec-12 1:41 
AnswerRe: Have userID in view, need userName posted PinmemberMatt U.19-Dec-12 5:11 
AnswerRe: Have userID in view, need userName posted [modified] PinmemberCommDev20-Dec-12 23:55 
QuestionUnable to start program http://localhost:1837/default.aspx using VS 2008 in Windows XP IE 8 Pinmembersr15919-Dec-12 1:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150224.1 | Last Updated 27 Feb 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid