|
I asked two questions, you only answered one. Why?
led mike
|
|
|
|
|
Sorry,
it's for embedded in a dll (Embedded Resource)
|
|
|
|
|
what i want is:
- service.asmx 'encapsulated' (Action: Embedded Resource) in service.dll.
in a traditional asp.net 2.0 web application i can do it with virtualpathprovider for accessing my webservice, but under moos i can't figure how to do it...
Thanks
|
|
|
|
|
I am thinking about creating a utility website like tinyurl and want to use context-based advertising on the website like Google AdWords.
Do you know if I can host software on my website that functions like Google AdWords?
|
|
|
|
|
Hi,
I want to call a select statement and get the the records to a pop up window when the enter key is fired and focus to the next control. How can I do this.
|
|
|
|
|
add a button to your form and set the forms default button property to that button, and the enter key will automatically click it for you..then run your code from the click event. and you could change the default focus property of the form to the new control..or use javascript to move the focus, or server code, but there's a ton of other ways to do this too.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
but if one form contains more than one button how to set the forms default button property .
|
|
|
|
|
in vs 2008, and probably in vs 2003 you open the aspx page, then open the properties tab(mine's on the right side) and select the runat=server form from the drop down, and the properties you want should be in the top few. thats how i usually do it, i cant think of a reason you shouldnt be able to do that in the Page Load event handler though.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I'm using the RegisterClientScriptBlock function in the webpage, but it's not firing. Instead, it is just writing the message in the page. I have used the following code:
ClientScript.RegisterClientScriptBlock(this.GetType(), "Script1", "alert('YES!')");
I'm working in ASP.Net 2.0.But itis just writing 'alert('YES!') ' at the top left of the page. Any idea what's happening here? Thanks in advance for any help.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
are you using Ajax in this page. if yes then use ScriptManager insted of ClientScript it will work for you
cheers,
Abhijit
|
|
|
|
|
No. I'm not using Ajax.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
try this
ClientScript.RegisterClientScriptBlock(this.GetType(), "", "<script>alert('YES!')</script>");
|
|
|
|
|
and make sure the second parameter isn't the same, if you are registering 2 blocks. thats how the system tells the blocks apart, if you're just doing one you dont have to worry about it but if you are registering 2 in the same post back the names must be different, or the second wont be registered. i assume it still works that way, its how it worked in 1.1, and i havent tried that scenario in 3.5, 1.1 made me get in the habit of checking.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
It's working now when I added the tags. Thank you very much. So when I tried another javascript code which is not functioning. Following is the code:
ClientScript.RegisterClientScriptBlock(this.GetType(), "", "<script>history.back();return false;");
This is not going to previous page rather than just flickering the page. It is executed in Firefox.
If the clientscript is not possible, is there any server side code for going to previous page? Please help.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
dont return false? and if you are still doing your alert you need to give the script block an id.. you may also want to make the tags valid, by adding the language and type attributes to them, since they'll be tossed into the page at the end(or begining depending on how you register) they should be valid to prevent any problems.
<div class="ForumSig">Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.</div>
|
|
|
|
|
Hi All,
I am having problems with the above error everytime i try and execute a visual studio's project.
I tried to change the WebDev*.exe file from a working PC but no luck.
Can any one please advice?
Thank you
|
|
|
|
|
i have a aspx page and i am at the bottom of the page there i show some div i want that the page is not to move to the top and again i am not scroll to bottom
please
send the answer on
sharma_diw@yahoo.com
|
|
|
|
|
|
i have a aspx page and i am at the bottom of the page there i show some div i want that the page is not to move to the top and again i am not scroll to bottom
|
|
|
|
|
So you want the link to drop straight to the bottom of the page yeah?
anchor links
|
|
|
|
|
can you please be more specific, i am little confuse
what you actualy want ? do want scroll postion to be fixed ??
let me know ??
cheers,
Abhijit
|
|
|
|
|
hi
i want to say that i have a long page at the bottom there is one link button and on clicking the link button i want to open the div there as i do this the div is open but the page is scrolling to top i want that when i open the div the page is not moved(scroll).
Because to see the div i scroll the page
if it is possible please send on my another mail id sharma_diw@yahoo.com
thanks
diwakar sharma
|
|
|
|
|
im creating radioButtonList Dynamically & set Autobostback = true
then i put a radiobuttonlist i created in every Cell in asp Calendar ..
when i choose any item in the radiobuttonlist .. no post back happen
any solution ?? 
|
|
|
|
|
hmm I wonder if the calendar needs to postback too?
Or make sure when the radiolist is created it is created after the calendar
|
|
|
|
|
did you used Ajax in the page
cheers,
Abhijit
|
|
|
|