|
try it urself first.just not to worrying and keep patience. ok .
Devjit Das
|
|
|
|
|
ok Thanks....
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
u can implement also this
document.getElementById(gridid).rows.length;
will count only the display row.
Devjit Das
|
|
|
|
|
not showing the message box
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
try it ur self it will work . ok..
Devjit Das
|
|
|
|
|
hi....Inside thescript u'll write following code.I think it will work
var r="";
r = document.getElementById('GridId');
for (var i=0;i<r.rows.count;i++)
{
}
<div="" class="ForumSig">Rajendran
|
|
|
|
|
code is incomplete?
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
i think that u r not working any where.
Devjit Das
|
|
|
|
|
Sonia Gupta wrote: can i calculate that the gridview contains how many rows (in javascript)?
Yes, alert(<%GridView1.Rows.Count%>);
|
|
|
|
|
Hi
is there any way to capture user ip address and his location
from our website.
suppose i developed a website called www.mywebsite.com
if any user who opens this website i want his ip and location.
Any help appreciated
Thanks
ngrj.
|
|
|
|
|
from this code u will get the ip address
string add = System.Net.Dns.GetHostName();
System.Net.IPHostEntry myIPs = System.Net.Dns.GetHostByName(add);
and for location use globalization.
Devjit Das
|
|
|
|
|
Check the request object you will find every thing that you want to know but rememebr one thing first check is it null or empty then use i don't know exact method name but can definaety say you will get in request object
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hai all,
i have a gridview(gvattendance) ,in that i maintain 7 days attendance of the perticular Employee by using radiobuttonlist in each and every column depending on weekno:1,2,......
,after this i saved the data.
now i had some problem for updating and editing?
for Editing i need to display the saved data of the employee (Who is already inserted above) in the same gridview(gvattendance) and after that ,i had to done updating?
Thanks
Subbu.
|
|
|
|
|
use the same query which u bind with gridview after the updation call the query again.
Devjit Das
|
|
|
|
|
I am trying to debug a code(asp.et) which was developed in 1.1v . i have migrated this to 2.0v . But when i attach the process , it doesn't stop at the breaks point i have set
The process is attached with out any error
|
|
|
|
|
Is it a debug build ? Have you tried rebuildng all ? Do the breakpoints look active ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I did a rebuild all , it works fine
thanks a ton
|
|
|
|
|
Hi,
I want to access session variable which is at code behind file(VB.Net).
I have HTML control. I want the session value and depending upon that input box(check box) property set to enabled.
How can I do
Thank You,
sjs4u
|
|
|
|
|
Hi,
Add a html hidden control (say hdnSession) in the aspx and set the value in the page load of the aspx file as below.
In Page_Load
hdnSession.value = Session("Sample")
Now in the javascript access the hidden variable.
Hope this will work...
Thanks and Regards,
N.Kalyan Kumar
|
|
|
|
|
Session is server-side object. you can't access the session value on the client-side. you can store it in the hidden field and access it on the client-side through javascript.
Regards - J O H N -
|
|
|
|
|
hi to all
i m working in asp.net 1.0
i bind a datagrid (with paging) on page acc. to the index change of dropdownlist.
when i click on page 5 in datagrid it work fine BUT if i change the value of dropdownlist to that item which don't have enough data to bind with datagrid up to pageindex 5 , it give error
"Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount"
plzz help
thanks in advance
|
|
|
|
|
findtango wrote: it give error
"Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount"
plzz help
Before binding the datagrid, set DataGrid.CurrentPageIndex = 0;
|
|
|
|
|
Hello frnds
i am using Msaccess Data base, I want to find total record count please any body give source code.
advance thnx.
srinivasan.s
|
|
|
|
|
|
if (!Page.IsPostBack)
{
int h = 0;
int k = 0;
int j = 0;
for (int m = 0; m < 2; m++)
{
k = h++;
// k = ++h;
}
Button1.Attributes.Add("OnClick", "javascript:return abc(" + h + ");");
}
<script language='JavaScript' type="text/javascript">
function abc(var d)
{
alert(d);
return false;
}
</script>
i am comminting any mistake somewhere?
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
-- modified at 4:23 Tuesday 30th October, 2007
|
|
|
|