|
Yes, I posted my question before really looking at that method, and it's somewhat less than confidence inspiring. I'm now using MD with salt, where that method doesn't use salt.
|
|
|
|
|
I have a helpfile.pdf in my project.whenever clickinh the help button it will popup in a seperate window.i have given like this:
private void LinkButton1_Click(object sender, System.EventArgs e)<br />
{<br />
Response.Write("<script>window.open('help/ Helpfile.pdf?a=new','','left=0,top=0,width=860px,height=600px,toolbar=0,scrollbars=1,status=1')</script>");<br />
<br />
}
it is working fine, but when i am taking the msi(exe) of the project the help file is not coming..y this happening?
Thanx in advance.
|
|
|
|
|
You need to add your PDF to your MSI ?
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
yes.i hav already added in my project. but cant able to see,that files whn running MSI.
|
|
|
|
|
OK - I don't know the first thing about making an MSI in VS, I use advanced installer. If it's in your project, then there must be another step to tell it to put it in the msi.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
for creating set up in vs:
go to
solution explorer>solution >newproject > add >select documentation files,primary output,content files as project output > run project in release mode > build solution .
ur msi is created in desired location.
jus written,may hav usefull 4 sme others.
|
|
|
|
|
|
HI All
I am running a website on SSL the Site works fine in my local after implementing the SSL trial certificate. but when it is run on production the the querystrings used are getting encripted. because of which the application is not working properly.
Do we have some kind of setting which can decript the querystring before passing it on to the server?
Any help will be helpful
Regards
|
|
|
|
|
Button3.Attributes.Add("Onclick", "OpenWindow();")
i want to execute some statements in button click then depending on condition my popup window should open not like deafault button click.. can any one help me in this ..
Regards
Rajkumar.
|
|
|
|
|
you can use RegisterStartupScript Block for that.
Best Regards
-----------------
Abhijit Jana
"Success is Journey it's not a destination"
|
|
|
|
|
yah i got it abhijit
ClientScript.RegisterStartupScript(GetType(Capture), "close", "OpenWindow();", True)
thanks any way..
|
|
|
|
|
I think it needs to be all lower case. Why not just add OnClientClick to the button in the aspx ?
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
hello everybody;
what does it mean ? :
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. C:\Documents and Settings\uwo\My Documents\Visual Studio 2005\WebSites\Chapter03\WroxUnited\web.config 41
|
|
|
|
|
This has been posted before and Graus gave his reference to his sig.
|
|
|
|
|
goto iis console
right click on your specify virtuall directory
(i think that the icon of this virtuall directory is a yello icon) if its true then follow below steps
after right click:
click on properties
on directory tab on appear window click on create button in applicatiion settings part
hope to work correctly
goodluck
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
I have a link which is given to a thrid party.whoever can access the url and do whatever they want. how to restrict it.
plz help me. it would be verymuch useful for me.
regards
anu
|
|
|
|
|
Are you talking about anybody being able to access an administration panel or are you talking about people linking to images from your site and draining your transfer?
If it's the former, you need to set up a user system so only admins can access this panel.
It it's the latter, ask your hosting provider how to turn hot-linking off on your account.
Don't you just hate coming up with something to put here?
|
|
|
|
|
hi
i am talking about admin panel, anyone can able to access my admin panel by just typing the url.
you are saying that to set up a user system. Plz tell me how to do.
thanks in advance.
anisha
|
|
|
|
|
ASP.NET has built in user system you can use. Google it.
Don't you just hate coming up with something to put here?
|
|
|
|
|
Hey
I'm currently working on a project for myself in which I'm using LINQ to interact with an MSSQL database.
I'm having trouble updating the database, though. I've watched the videos at www.asp.net and I've downloaded and viewed the source code. I think I'm doing the right thing but the database isn't updating at all.
Here's the code:
<br />
Protected Sub EditMode_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles EditMode.Click<br />
Dim Conn As New ClanDataConnection()<br />
<br />
Dim UID = Request.QueryString("UID")<br />
<br />
Dim Query = From user In Conn.aspnet_Memberships _<br />
Where user.UserId.ToString() = UID _<br />
Select user, user.aspnet_Users<br />
<br />
Dim newUserName As TextBox = dvUserDetails.FindControl("tbUserNameEdit")<br />
Dim newEmail As TextBox = dvUserDetails.FindControl("tbEmailEdit")<br />
Dim newMemberSince As TextBox = dvUserDetails.FindControl("tbCreateDateEdit")<br />
Dim newLastOnline As TextBox = dvUserDetails.FindControl("tbLastActiveDateEdit")<br />
Dim newIsApproved As CheckBox = dvUserDetails.FindControl("cbIsApprovedEdit")<br />
<br />
For Each usr In Query<br />
usr.user.aspnet_Users.UserName = newUserName.Text<br />
usr.user.aspnet_Users.LoweredUserName = newUserName.Text.ToLower<br />
usr.user.Email = newEmail.Text<br />
usr.user.CreateDate = newMemberSince.Text<br />
usr.user.aspnet_Users.LastActivityDate = newLastOnline.Text<br />
usr.user.IsApproved = newIsApproved.Checked<br />
Next<br />
<br />
Try<br />
Conn.SubmitChanges()<br />
Catch ex As Exception<br />
lbl.Text = ex.Message<br />
End Try<br />
<br />
Server.Transfer("./Screens/SelectUser.aspx")<br />
<br />
End Sub<br />
(For some reason the code tag has removed my code formatting [tabs] and left it looking disorganised)
No error message is passed and the page successfully moves to the select user page where there is a list of user names in a drop down box. When I look in this box, if I've attempted to change a user name, it hasn't changed. If I go to edit that user again by selecting it, I can see on the edit user page that the detail(s) hasn't changed.
Why is this?
Thanks in advance,
Andy.
P.S: I'm not using a LINQ data source, nor do I want to use one. I'm populating my grid views and data views from dynamically generated data tables and LINQ queries.
Don't you just hate coming up with something to put here?
modified on Friday, May 2, 2008 4:07 PM
|
|
|
|
|
No thoughts?
EDIT: I've fixed this now.
Solution: Avoid all post-backs by using Server.Transfer instead of Response.Redirect and only have data table update on non-postback.
Don't you just hate coming up with something to put here?
modified on Saturday, May 3, 2008 4:07 PM
|
|
|
|
|
my website is running in .net 1.0 and now i created the entire project in .net 2.0 with slight modifications. when i upload the projects, it works fine in local IP. but it doesn't works in server.
can you plz help me.
regards
anu
|
|
|
|
|
Member 3842115 wrote: it works fine in local IP. but it doesn't works in server
What problem you are facing ?
Best Regards
-----------------
Abhijit Jana
"Success is Journey it's not a destination"
|
|
|
|
|
Hi,
After uploaded into the server, it was working well for nearly 5 hours.
The number of hit increases,in the event_log file error messages are pouring like anything and gets down. Then i revert back to the 1.0 version.I used Ajax Technology through coding not Ajax tool kit.
Plz help me, it would be very much helpful for me.
Thanks in advance
Regards
anu
|
|
|
|
|
i have a proble with getting selectedvalue of dropdownlist control that located in formview control , when i wnat to update information on formview.
i use SqlDataSource to connect formview to related db and one another to bind dropdownlist to my db.
when i want to update information one of my SqlDataSource UpdateParameters mu be provided by DropDownList control but i can't do it
please guid me
thanks
|
|
|
|