|
hi
i want to add a link on my web site - "set this page as homepage"
can sm1 pls give me c# or vb code for that
with thanks
Tarun Suneja
|
|
|
|
|
Hi Tarun ,
Refer to the following links:
Link #1[^]
Link #2[^]
I hope this would be helpful.
John Adams
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
Use the following ant coorect your website URL..
<a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://dynamicdrive.com');">Click here to make Dynamic Drive your default homepage</a>
|
|
|
|
|
Hi,
I have dropdown box in the form and it is populated by a query. What I want is to place an item such as "Select an item" as 1st item in the drop down box. How could I do that?
Thanks.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
Add "Select an item" to the items collection
And set the appenddatabouditems to true
Alexei Rodriguez
|
|
|
|
|
WOW! That's a good one. 5ed
|
|
|
|
|
use this
dropdownlist1.Items.Insert(0, "--Select an item--");
|
|
|
|
|
Can some one confirm if Dynamic Data Wizard in ASP.Net 3.x works with MS Access databases?
I can't seem to find any references to MS Access DB.
Thanks
|
|
|
|
|
[edit] Ah, crappy link. [/edit]
Blog link to be reinstated at a later date.
modified on Sunday, September 28, 2008 8:22 PM
|
|
|
|
|
Sh*t man, the article is about Adobe GoLive not Asp.Net 3.x, Also it was published in 2002, the application is not available anymore.
Thanks for the link.
ML
|
|
|
|
|
Sorry; just did a quick search and saw the Access refrence.
Blog link to be reinstated at a later date.
|
|
|
|
|
hi all ,
I want to upload image path to a database and image to a folder. How can I do that?
any article or guidance is higly appericated .
Best Regards
Rameez
|
|
|
|
|
Take a look at this article.
Regards,
--Perspx
"I've got my kids brainwashed: You don't use Google, and you don't use an iPod." - Steve Ballmer
"Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph." - Linus Torvalds
|
|
|
|
|
We are using session value in other pages but when control going in any page in catch block then sesion is getting expired but still we need session value.
So please can any one help me to solve this problem.
Session must not be expired any how.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
trilokharry wrote: You get the best out of others when you give the best of yourself.
You could get a good answer if you knew how to explain your problem
Alexei Rodriguez
|
|
|
|
|
Does anybody know whats the means of this code in script:
"if (confirm('Are you sure?')){{{0}}}"
|
|
|
|
|
I think it's bracket art. If you stare at it long enough, you'll be hypnotized into thinking it does something.
Seriously, that code does nothing, besides showing dialog asking if you are sure.
- S
50 cups of coffee and you know it's on!
A post a day, keeps the white coats away!
|
|
|
|
|
i have a button and i want when i clicked it i show a confirm box and ask me that i sure to save or not if i click ok it save and if i click cancel it dont to be save. but i dont know how should i call button_click() if i push ok. can any body help me plz???? i wrote this code:
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "test1", "function confirm_entry(){input_box=confirm(\"Click OK or Cancel to Continue\");if (input_box==true){ ?????;}else{ ????;}}", true);
btnAccept.Attributes.Add("onclick", "confirm_entry();");
modified on Sunday, September 28, 2008 1:13 AM
|
|
|
|
|
Look at this example to confirm de deletion of a record:
<asp:ImageButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
OnClientClick="return confirm('Delete record?');"
ImageUrl="~/img/delete.png" />
If the users chooses canel, no postback is fired, otherwise, a postback will occur
Alexei Rodriguez
|
|
|
|
|
how to upload a file
using below i can save the file to "UploadedFiles" folder.
<br />
Dim path As String = Server.MapPath("~/UploadedFiles/")<br />
however, i want to save the file to a folder in "UploadedFiles".
for instance if currently login user name is "mark" then save the file into UploadedFiles/mark/
I tried this but it doesn't work
<br />
Dim path As String = Server.MapPath("~/UploadedFiles/" & Session("CurrentlyLogedinUserName"))<br />
|
|
|
|
|
Be more clear about what is not working...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
thanks for replying.
now i can upload files to currently login user's folder.
<br />
Dim path As String = Server.MapPath("~/UploadedFiles/" & Session("CurrentlyLogedinUserName") & "/")<br />
|
|
|
|
|
Glad you fixed it, man. I should have noticed the lack of "/" at the end
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Hello friends,
I am using Sql server 2005 reporting services. I have designed report and created datasource. Now I want to upload it to my project. But I dont know how to upload this files and where to upload ? Please help me...
thanks..
|
|
|
|
|
Hello
I work with a master page and content page
i try to find a Button in my content page, where i want to write my code behind
because i get the ID of this Button from the database
so any help will be greatly appreciated
Thanks in advance
Assaf
|
|
|
|