|
<br />
DataTable dt1 = (DataTable)Session["myCart"];<br />
if(dt1.Rows[e.RowIndex]!=null)<br />
{<br />
dt1.Rows.Remove(dt1.Rows[e.RowIndex]);<br />
}<br />
should take care of it i guess...
I know it's not the best of solutions, but at least it should work.
var question = (_2b || !(_2b));
|
|
|
|
|
Hi Greg,
Thank's for the work around. I was googling it again and found this article: forums.asp.net Looks like there is a known bug when using an image instead of a regular text hyperlink! I would have never guessed that!
Knowledge is not power, however, the acquisition and appropriate application of knowledge can make you a very powerful individual.
|
|
|
|
|
hi
i am new to asp.net i serched for loop example from google but the extension.asp is working.
i have to implement for loop .aspx .
what is the best tutorial for .aspx example ?
bye
Naga
|
|
|
|
|
ASP.Net does not has any loop. Its the underlying language which you use to write the ASP.Net application.
Look here [^]to see how to write a for loop in c#.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
|
Hi there,
I have a problem that applied cellspacing is not working in Opera browser. It's working fine in IE, Firefox, Chrome and Safari.
Here is my code where i m using cellspacing....
tbl = New Table
tbl.Style.Add("background-color", "#FFFFFF")
tbl.BorderWidth = "0"
tbl.CellPadding = "0"
tbl.CellSpacing = "1"
Plz let me know the solution if you have.
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
I think there might be some other issue with this. Opera takes cellspacing well.
|
|
|
|
|
hi
am new to ajax,am facing a big problem,
my requirement is to add the item details to the grid,by using modal popup.
In the modal popup i give a option to search the itemname
this search details will be shown on grid in the same modal popup,in that grid i added button for selecting rows.
once the user click the select button, i want to assign the
values in the modal popup textbox, by using java script fucntion.
My problem is javascript fucntion working well, i tried by alert fucnction working fine but the
function shopModalPopup(itmid,itmno,itmdesc,onhand){
********** working *************
alert(itmid);
alert(itmno);
alert(itmdesc);
********** not working *************
document.getElementById('itemid').value=itemid;
document.getElementById('itemno').value=itmno;
document.getElementById('itmdesc').value=itmdesc;
document.getElementById('onhand').value=onhand;
********** not working *************
$get("<%=this.itemid.ClientID %>").value = itemid;
$get("<%=this.itemno.ClientID %>").value =itmno;
$get("<%=this.itemdesc.ClientID %>").value =itmno;
$get("<%=this.onhand.ClientID %>").value =onhand;
}
|
|
|
|
|
does it work if you use innerHTML?
<br />
document.getElementById('<%=this.itemid.ClientID%>').innerHTML = itemid;
Knowledge is not power, however, the acquisition and appropriate application of knowledge can make you a very powerful individual.
|
|
|
|
|
Thanks for your reply
i tried your code
document.getElementById('<%=this.itemno.ClientID%>').innerHTML = itmno;
but still the value is not visible in textbox.
view soruce look like this
<td>
<input name="itemno" id="itemno" style="height: 21px; width: 263px;" type="text"><input>E-4005
"E-4005" is my itemno it is not visible in textbox.
|
|
|
|
|
Thanks it works
document.getElementById('<%=itemdesc.ClientID %>').value
|
|
|
|
|
Hey Zapss,
Great! I probably skimmed through the question too quickly, but I wasn't sure what type of control you were using. I just remember having an asp:label control one time and the .value would not change! I then stumbled across an article where someone mentioned that the label is putting a "" tag on the html and you need to use innerHTML to change what is displayed.
Knowledge is not power, however, the acquisition and appropriate application of knowledge can make you a very powerful individual.
|
|
|
|
|
have you used document.getElementById('<%=this.itemid.ClientID %>').value = itemid;
Also check what browser renders. If it is input, you can use value, if its container you use innerHTML..
|
|
|
|
|
hello
Friends
i want String Compairions function
like
str1=This is demo
str2=this is Demo
above str1 and str2 are same
Thank you @};-
|
|
|
|
|
Microsoft investa lot of money to write a great knowledgebase about its various tools and languages in MSDN.
Did you even try to look at it?
Here [^]is the whole explanation you may ever need about it.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
How to use MS-Word Eqution Editor in asp.net textbox control?
Is it possible are not?
If possible how to implement?
Thanking you
abglorie
|
|
|
|
|
|
Hi
I have a problem. i have write a code to send mail in asp.net and now i ahve to publish it on Windows Server 2003. but It gives error message . Can anybody let me know that how can I configure SMTP server on windows Server 2003. Plz Plz It's very urgent.
thanks
Raghvendra Kumar Roy
|
|
|
|
|
Hi,
what is the error message you are getting?
Did you configured your SMTP-server correctly? Are you using the local one (provided by the IIS)? Maybe you must check for security properties (for this, open the IIS manager, right click on SMTP and then to the tab "security").
Regards
Sebastian
|
|
|
|
|
Raghvendra Kumar Roy wrote: Plz Plz It's very urgent.
And this is so rude.
I hope you are using IIS 6.0. Did you even google to look how to do this.
There are loads [^]of articles there.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I want help from you.
How to typing mathematical equvation in textbox?
Is it possible are not?
If possible how to implement?
Thanking you
abglorie
|
|
|
|
|
what do u mean "mathematical equvation".
Raghvendra Kumar Roy
|
|
|
|
|
Now typing in msword document using equation editor and type matrix
(i.e. 3 row 4 columns).
1 0 1 1
1 1 0 1
0 1 1 0
|
|
|
|
|
|
Hi,
I need to clear all the Control field's - (Radiobuttonlist, Dropdownlist, Textboxes and Fileupload) values on a button click. I am able to do for Radiobuttonlist, Dropdownlist and Textboxes but not able to do for FileUpload control. Can anyone please help me out in this. Thanks in advance
txtAppID.Text = string.Empty;
txtkeywords.Text = string.Empty;
MtxtDesc.Text = string.Empty;
ddl_Domain.SelectedIndex = 0;
ddl_Theme.SelectedIndex = 0;
rbl_Businessarea.ClearSelection();
rbl_Clientsize.ClearSelection();
This is code i have written on a button click. On the same button click i need to clear the ASP:FileUpload control values too.
Thanks,
Santa.
|
|
|
|