|
Hello Christian!
When I see your name below my question, I know my question was answered
Thank you for your help, but it's really my first aspx page ever and I didnt think it's that hard to produce and browse a "Hello World!" page, anyhow, the thing is that I have a very simple page that runs nicely by (Ctrl + F5), I publish it and set the publish directory as a virtual directory from my IIS but cant browse it like the other html files, so basically, I'm asking here cuz I have no clue where could be the problem and by googling, I can see it's a common problem with no good answer I could find.
Thanks again Christian, you're really the best
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
If IIS is pointing to the right directory, then I really don't see how it could go wrong, unless you typed 'localhost' with no page name after it and there's no valid default page there.
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 )
|
|
|
|
|
Hi muammar,
I had this problem few weeks back and I was about to bang my head on the screen but before doing that I played publishing with different name and in different location (i.e; publising directly to wwwwroot or desktop etc then placing it in wwwwrooot) and eventually it worked
I couldn't find the cause which was creating the problem but I successfully run it
ping me if you need more info
|
|
|
|
|
Thank you gamzun, it's working just fine now I would have invited you for dinner tonight but you're not in Yemen.. Thanks again my friend
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
no problem bro any time
|
|
|
|
|
Hi,
I am using MultiView / View controls which change by MenuItem clicks. Each view has a GridView on it with Edit and Insert features.
The problem is: 1) when the edit button is clicked, the GridView disappears and you need to click on the MenuItem again to see it (it happens evrytime you click edit, update, cancel or insert buttons on the GridView)
2) When you click a MenuItem, the page is posted back and displays from the top again, but I want it to stay at the height where it left so that the users dont have to scroll down again to see the GridView. I can probably use javascript, but I was wondering if there is any asp .net way to fix it?
All ideas are welcome.
Thanx for your help.
Ekjon
|
|
|
|
|
|
|
Member 4700225 wrote: 1) when the edit button is clicked, the GridView disappears and you need to click on the MenuItem again to see it (it happens evrytime you click edit, update, cancel or insert buttons on the GridView)
I think you missed to bind the datagrid in postback..
Member 4700225 wrote: 2) When you click a MenuItem, the page is posted back and displays from the top again, but I want it to stay at the height where it left so that the users dont have to scroll down again to see the GridView. I can probably use javascript, but I was wondering if there is any asp .net way to fix it?
Maintain Scroll Position of DIV using JavaScript - ASP.NET 2.0[^]
|
|
|
|
|
|
I'm having difficulty adding dynamically loading one control GridViewControl.ascx to another (ControlOnPage.ascx).
Adding a placeHolder to Default.aspx and dynamically loading GridViewControl.ascx works fine. Click Edit, modify a field, click update - everything's in order.
Problem:
Add ControlOnPage.ascx to Default.aspx.
Add the placeHolder to ControlOnPage.ascx.
Dynamically add GridViewControl.ascx to the placeHolder.
This time the Edit link behaves like an empty PostBack button. RowEditing does not fire.
Any ideas?
Thanks,
B
|
|
|
|
|
Hi! All
I m trying to generating crystal reports with push mehtod but it gives error at:
report.FileName = Server.MapPath("report1.rpt");
report.Load(Server.MapPath("report1.rpt"));
as:" Load report Failed."
so how do i tackle this.
any suggestion will be anticipated.
Thanks in advance.
modified on Saturday, December 08, 2007 8:51:53 AM
|
|
|
|
|
Raza Bro (bhai)
its simple it can't find the file in the specified path
debug the code in which its is looking for the file report1.rpt
|
|
|
|
|
Dear Gamzun (Bro)
yes it does,
but it accepts right path instead of that prompt exception that's why
posted to here; to share with like u people.
Thanks for reply.
|
|
|
|
|
can anybody help me. I have to execute my event by pressing function keys in asp.net(1.1). Is it possible. Please help me.
|
|
|
|
|
<input type="text" name="txtPostalCode" onkeypress="if(!isNS4){if(event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;}else{if(event.which < 45 || event.which > 57) returnfalse;}" />
use this and call that javascript function from this so it will call that function when ever u click mouse or when ever use tab, its client too...
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
try event.keyCode in i.e.
for mozilla it's event.which
P.S.
|
|
|
|
|
thanks, i will check it and inform to all..
|
|
|
|
|
iam getting data from a database and iam storing that data in a datatable ..now i want this data to retain its values for every event calling how and if any updation is made to the table in any event then it should got effected to that data table..and also even the page is post back also it should retains its value untill the application closed.
|
|
|
|
|
Jagdeesh since you are on ASP.NET you will have to expicitly "maintain the state" of the DataTable.
heck out topic for state maintainance in ASP.NET
P.S.
|
|
|
|
|
The three session state options for ASP.NET are:
In-Process
Out-Of-Process with a Windows Service
Out-Of-Process with SQL Server
Use this to maintain the state sesion. More more details Get it
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Hi! All
I m trying to creating crystal reports with push method (via Dataset);
but when it runs it displays a form that "The reprot you requested requires further information.
then has four textboxes Server name & Database name are uneditable,and other two are userID & password. ";
it never displays report.
But all works when i use to create crystal reprots with pull method (except dataset); it pop up same form over there but all fields are editable.
I set Crystaldecisions.share.connectionInfo at pageload event but it all in vain.
so how i solve this. any suggestion regarding this will be anticipated.
Thanks in advance.
|
|
|
|
|
How i check if a cloumn value is null when already a search condition is avilable.I want to put a cloumn value from the database.Getting the value on a serch condition,also if the returned value is null thn an error occurs in sql.I want to chk if the value is null or not ,if the value is not null return the value..How the query is wriiten for that.
sqlstatement = "SELECT UnitId FROM user_UnitRoles WHERE UserId='"+UserId+"' ";
object s=dbtObj.GetColumnValue(sqlstatement, "UnitId");
return s.GetType().ToString();
I attach the query with this mail .Plz tell what changes i want to do
|
|
|
|
|
I am not sure what you asking but i feel you should try to compare returned value to
System.DBNull in .NET CLR.
P.S.
|
|
|
|
|
change your logic, if your GetUnitId method doesn't have any record then it should return something which shows that it's null.
Push your brain and it will work out for you
|
|
|
|