|
Hi Benjamin ,
Put whole thing in a Function and call that function on body onload
|
|
|
|
|
Nishant Singh wrote: Hi Benjamin ,
Put whole thing in a Function and call that function on body onload
Why ?
|
|
|
|
|
As, TextBox1 is a Server Side Control, You can't get Data Directly by GetElementByID.
First of all You need to read ClientID then Try to use the same.
benjamin yap wrote: var tampvalue = document.getElementById('TextBox1');
var TestID="<%=Texbox1.ClientID%>"<br />
tampvalue=document.getElementById(TestID).value;
This will work for you.
|
|
|
|
|
thanks for ur help
|
|
|
|
|
Hi,
Girdview paging with checkbox
I have select the items in gridview checkbox.the selected items are
list in another gridview.Please help me.How to solve this task.
|
|
|
|
|
On what event the Items should be loaded in other GridView ,
Is it on Some Button Click or any other Server side event
If yes then
Put selected GridViewRow in a GridViewRow Object and add that Row object to Second GridView
eg
GridView2.Rows.Add(GridViewRow Object)
|
|
|
|
|
shanthi jothi wrote: Hi,
Girdview paging with checkbox
I have select the items in gridview checkbox.the selected items are
list in another gridview.Please help me.How to solve this task.
Good.
Then what is your problem ?
|
|
|
|
|
I'm displaying questions into a gridview.Now I want to take answers for questions into text box for each question ie for each row.I have around 80 questions and I'v to use paging(10 per page).But when i answer the question for 1st page and click the PageIndexButton the first page information is lost.so how can i take the answers of each page and insert into a database table.
|
|
|
|
|
Hi coders,
I dont know if this question has something to do with ASP.NET because I dont know my problem is causing because of ASP.NET or it is some CSS problem.
I am working on .NET 3.5. I have a .aspx page with lots of DIVs. When I run my project, it rus properly and displyed properly if my screen resolution is 1024*768... but when i change my screen resolution to any other value, some DIVs move here n their randomly. I couldnt figure out the reason after many tries. I am sure my HTML coding is perfect ( all DIVs and other tags are closed properly).
I would be thankful for any help and concern.
Thanks,
Anand Desai
Developer
Atharva Infotech
|
|
|
|
|
hello..
i have datalist in which thumbnail images are shown i want to show large image on particular image mouseover as tooltip...
|
|
|
|
|
|
thank for your reply but i dont want to stretch the image i want both small and large ...for example in shopping site large image is shown as tool tip for small image.
|
|
|
|
|
For that you can create Thumbnlis of that Image. If you search google , you can find many code for that.
please let me know if any issue.
|
|
|
|
|
thanks for reply again.. i have used this javascript:-
i have taken a div in design and applied this css
css:-
divAbsPosition1
{
z-index: 1;
left: 0px;
position: absolute;
top: 0px;
visibility:hidden;
}
function hideWindow()
{
document.getElementById('dv').style.visibility='hidden';
}
function LargeWindow(ev,str)
{
var e = ev ? ev : window.event;
var s = e.clientX + ',' + e.clientY;
document.getElementById('large_Image').src=str;
document.getElementById('dv').style.visibility = 'visible';
document.getElementById('dv').style.left = e.clientX -10;
document.getElementById('dv').style.top = e.clientY-10;
}
its working perfect in ie but not working in firefox..
|
|
|
|
|
can you put the code from where you are calling LargeWindow (), I want to check "ev " ?
|
|
|
|
|
ya sure..here is my Code..i made a sample page...
onmouseover="LargeWindow(event,'images/Large_Card1.jpg')" onmouseout="hideWindow()" />
|
onmouseover="LargeWindow(event,'images/Large_Card2.jpg')" onmouseout="hideWindow()" />
|
onmouseover="LargeWindow(event,'images/Large_Card3.jpg')" onmouseout="hideWindow()" />
|
onmouseover="LargeWindow(event,'images/Large_Card4.jpg')" onmouseout="hideWindow()" />
|
|
|
|
|
|
|
I am trying to redirect the user to different pages on click of various available images for different websites.
How can use a single common function say, 'openSite' in script so as to handle all the redirection from various image clicks?
Is it possible to get parameters like tag's id on run-time and use that to switch statements in the 'openSite' method to redirect the page to the appropriate one?
Regards,
SPanicker.
modified on Wednesday, December 3, 2008 7:09 AM
|
|
|
|
|
you can write an onclick that passes 'this' and it will pass your img tag to the javascipt method.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Are you trying to say one should get the sender object and reflect back its properties by using GetType()?
Regards,
SPanicker.
|
|
|
|
|
Hi.
i would like to move down vertical scroll bar automatically to show last inserted row in gridview after cliking "Submit" button.
Could any body help me please?
thanks in advance!
|
|
|
|
|
I think you can do it , by set the Div ScrollTop Property
|
|
|
|
|
thanks for your answer.
could you give a little more of using this,pls?
thanks and regards,
|
|
|
|
|
Check this site. Probably it may help you.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Hello All,
Can anybody suggest how to reproduce thread switching scenario in ASP.Net. I would like to test whether during thread switching thread's local storage info is migrated to new thread properly or not (mainly current principal info).
http://piers7.blogspot.com/2005/11/threadstatic-callcontext-and_02.html[^] this article explains how to reproduce but i am unable to reproduce. I am trying with ASP.Net Development server (VS2005).
Thanks
|
|
|
|
|
I have A query
Insert Into DEPARTMENT_MASTER(DPM_ID,DPM_CM_COMP_ID,DPM_BM_ID,DPM_NAME)
values(-2147483614,'2','2','abc,xyz')
//// string StrQue Contains Above Query////////////////////////
string StrQue=Query.ToUpper();
String[] Arr1 = Regex.Split(StrQue.Trim(), "INTO");
String[] Arr2 = Arr1[1].ToString().Split('(');
String[] Arr3 = Arr2[1].ToString().Split(')');
String[] Arr4 = Arr2[2].ToString().Split(')');
String[] ArrCol = Arr3[0].ToString().Split(',');
String[] ArrVal = Arr4[0].Split(',');
In ArrCol I am Getting Correct 4 columns but
In ArrVal I am Getting 5 Values because it is Spliting coma(,) from last
value('abc,xyz') Thats whay I am getting 5 Values but I want 4 Values.
Can anyone give me solution. Its urgent
Thanks,
|
|
|
|