|
Whenver i am clicking on a button in a webpage , the cursor is going up...
how can i fix the cursor position using asp.net
|
|
|
|
|
Hi,
U can set page property
MaintainScrollPositionOnPostback = "true" in Page tag in aspx page.
Thanks,
Sun Rays
|
|
|
|
|
i am using the dotnet1.1
i used the smartnavigation property..even those the page position is not setting properly
|
|
|
|
|
|
hi...........those sites are for dotnet2.0
|
|
|
|
|
I have a hide and show div .
How to hide the div when i click any where on the browser.
|
|
|
|
|
Use MouseOnClick event to hide the div.
Hide the div as below:
document.getElementById("div1").style.display="none"
God is always with you.
|
|
|
|
|
I know document.getElementById("div1").style.display="none" will hide when on particular mouse click but i want to hide the div when clicked on any where on the browser.
wht is the event will be raised when clicked on any where on thw browser.
how to add that event to hide function .
|
|
|
|
|
Call on onkeypress event in the body tag.
< body onkeypress="Checkkeycode();" >
function checkkeycode()
{
if( event.keycode==13 )
{
return false;
}
else
{
return true;
}
}
//Keycode value for enter key is 13.
God is always with you.
|
|
|
|
|
document.getElementById(id).style.display="none" for hide ur div.
document.getElementById(id).style.display="inline" for show ur div
Devjit Das.
|
|
|
|
|
I want to save Files of My virtual folder in Client-TEMP Directory automatically when I open the web application..through Code using Dotnet???
|
|
|
|
|
Vanamaindia wrote: I want to save Files of My virtual folder in Client-TEMP Directory automatically
It's not possible because ASP.NET works on server and it can't write any files to client.
|
|
|
|
|
Hi Friends,
Currently i am working on 1 Crystal Report which have 22 pages(22 page design ).
And client requirement is that he must need this report exported in PDF with textboxes in PDF.
Can any one please know me how i can export my report in PDF with textboxes in PDF?
Client don't want this report in word or other Format, He must require only in PDF.
Thanks in advance.
With Regards,
Mayank Prajapati
MCP, MCTS .Net 2.0
|
|
|
|
|
Mayank Prajapati wrote: And client requirement is that he must need this report exported in PDF with textboxes in PDF.
PDF is read only file, moreover it can't contain controls like TextBox.
|
|
|
|
|
Hi,
I want the users of my website to be able to print a datagrid on one of the webpages. Now my problem is that when the user does so one of the columns is cut off due to the page orientation. But if I set the page orientation to landscape manually it prints the entire datagrid.
How do I set the page orientation to Landscape programatically.
Is there some way I could achieve this using the CSS file?
Thanks in advance,
Avesh
|
|
|
|
|
Aavesh Agarwal wrote: How do I set the page orientation to Landscape programatically.
ASP.NET don't have any handle in printing. It's completely browser depended. What you can do is re arrange the grid to fit for printing.
|
|
|
|
|
From what I can gather, since a web service is stateless, then I cannot use global.asax in a web service to store application variables. For example, in classic asp, I could do the following...
-->
Sub Application_OnStart
set g_pcmsrv=Server.CreateObject("PCMServer.PCMServer")
set application("g_pcmsrv") = g_pcmsrv
End Sub
<--
With the above example, I can see and use g_pcmsrv anywhere in the web app.
But the same will not work in a web service....
<--
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application startup
Dim g_pcmsrv As Object = Server.CreateObject("PCMServer.PCMServer")
Application("g_pcmsrv") = g_pcmsrv
End Sub
-->
With the above, I get a 'object not set to a reference' error.
Does anyone know a workaround?
Thanks VM
Paul
|
|
|
|
|
I create HTML table in asp.net forum like this;
for(int i=0; i<count; i++)
Response.Write("<TABLE><TR><TD width...
All created table have a one row (<TD>) and all <TD> contain one link like this;
...<a href=\"Post.aspx\">" + discussionTopic + "</a>...
User press the Link so open Post.aspx page. I want to send informatin (Topic ID) when link is clicking. How can I do? I try LinkButton but its not working in Response.Write(). How can I send data to Post.aspx when user click the link?
Best Regards...
|
|
|
|
|
Why don't you use the Repeater control? You can define the template and add controls to it.
Cheers,
Mircea
"Pay people peanuts and you get monkeys" - David Ogilvy
|
|
|
|
|
I solve my problem. I used QueryString.
Thanks a lot...
|
|
|
|
|
how to fetch contiguous numbers from a string
yogesh
|
|
|
|
|
One at a time ? If you give an example of what you mean, perhaps we can help. If it's a comma seperated list, just use the Split function to turn into a string array. USe int.tryparse if you want them to come out as ints instead of strings.
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 m trying that i have one string "260px" this is got by
panel23.style["top"]..... i m trying to fetch 260 from this string , for further manupulations.
yogesh
|
|
|
|
|
The regular expression "\d{2,}" will match any sequences with two or more digits.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
Hi,
Firstly:How can I get MessageBox in ASP.Net Page by using C#.When I am Using Response.Write("alert('Employee ID already Exits');"); Font of my Label's in the ASP.Net page getting changed...
Secondly:I am using Microsoft Access as my Back end.Their I created an Employee table and I am Inserting ,Updating and Deleting the records of that table.Created EMPLOYEE ID as primary key.
What I trying to get is that when I am trying to Insert a Duplicate record (i.e Same Employee ID which is already present)a message Box Show that Record already present.
Regards.,
Deepak
-- modified at 13:08 Tuesday 6th November, 2007
|
|
|
|