|
Hi,
I am trying to fix an ASP.NET application that is also written is VB and uses session variables to store the information from the logging page. In Firefox, the application runs just fine, but in IE (I am using IE 8), when I summit the logging credentials, the session variables become empty (takes me back to the logging page).
The weird thing is that when I move the privacy settings in IE (doesn't matter if high to low, or low to high) and enter the logging information again, the application runs great. Also if I restart IIS 6.0 the application runs great. What's going on? Please, help me. Thanks.
|
|
|
|
|
I have been testing the application in IIS 5.0 isolation mode and the only problem is that pages that require accessing some resources in the directories don't work because of permission problem; it says something like "access to the path SOMEDIRECTORY was denied". On the other hand, the logging-session problem disappeared. Please help me. Thanks.
|
|
|
|
|
Hi, thanks for looking
I wonder...
Does the browser send all its info (cookies, ip, language, browser type...) when requesting every image in a page?
Thanks in advance
Alexei Rodriguez
|
|
|
|
|
Yes it does. It's request header will usually contain all that information for any request made of the server.
Using the wrong tool for the job is half the fun.
|
|
|
|
|
Hi,
I have generated a Data GridView and would like to populate it dynamically according to what I type into a textbox, but not after I press a Submit button or so, it must start generating instantely.
Example, as soon as I type "S", the DataGridView will display all the results which begin with an S. As soon as I add "t" in the textbox (it will now have "St"), the DataGridView will just show results begining with "St".
Anyone got a good tutorial for it pls?
|
|
|
|
|
You can do that with javascript
Also, take a look at the ajaxtoolkit controls (AutoCompleteExtender)
AutoCompleteExtender[^]
Alexei Rodriguez
|
|
|
|
|
I don't need the auto-suggest per se. I just need to solve that specific problem.
It would be better if you could illustrate me with a C# tutorial which I could follow.
Thanks
|
|
|
|
|
question, I have an jpg which I want to be my site background, but i don't want it tiled. I want it stretched. I made my jpg to have a space in the center for a contentPlaceHolder for the contents of my site. My beginners book didn't cover this and I'm kind of clueless, looking for any help whatsoever.
Thanks in advance.
|
|
|
|
|
I would say this probably isn't the way to go. What happens when the content exceeds the boundary of the "hole" in the image. It also won't scale well when the page is resized by end users.
only two letters away from being an asset
|
|
|
|
|
Sorry for the misexplanation.
I want the contentPlaceHolder to be scrollable while the background is fixed, something like nbc.com, my image is a vector image so it can be scaled to pretty much any resolution without losing quality, just being slightly warper. I tested on what I consider to be pretty popular resolutions and it works just fine, the only problem I have is how code my master page so that it acts as the site listed above.
|
|
|
|
|
Create an element, like a div, in the masterpage that is 100% and set it's background image via CSS. No need to create a hole in the image, the content will appear on top of the background image.
only two letters away from being an asset
|
|
|
|
|
Hi
When the Internet Information Service process (inetinfo.exe) receives an HTTP request, it uses the filename extension of the requested resource to determine which ISAPI program to run to process the request. When the request is for an ASP.NET page (.aspx file) IIS passes the request to the ISAPI DLL capable of handling the request for ASP.NET pages which is aspnet_isapi.dll.
This I understand in case the file name is in the requested URL like http://microsoft.com/whatsnew.aspx , But what is the process sequence if it is only http://www.microsoft.com . I understand that the default page gets called somehow but I am trying to understand the sequence.
Please advise. Thanks
Pankaj
|
|
|
|
|
same as you mentioned. It first checks the Default file for Default Web site in the host (microsoft.com)
If it is of extension .aspx then it is processed by aspnet_isapi.dll otherwise whatever configured to the IIS.
|
|
|
|
|
If no file is specified then the Default content page list is where it looks (Documents Tab in IIS). It goes through the sequence of page names set for the directory, and picks the first one that actually exists, and then processes that file exactly as if it had been called originally.
Also IIS checks the processing list before it actually looks for the file, So it goes to aspnet_isapi.dll and passes the request information to it, by default it doesn't even check that the aspx file even exists. (Its a checkbox option of whether to check the file is actually on the server.)
Using the wrong tool for the job is half the fun.
|
|
|
|
|
pankazmittal wrote: But what is the process sequence if it is only http://www.microsoft.com . I understand that the default page gets called somehow but I am trying to understand the sequence.
It is set up in IIS.
IIS has a setting where by you can set the default document to be called in the event that the web server receives only a folder path. You can set multiple defaults so that it can process them in sequence until it finds something.
Man who stand on hill with mouth open wait long time for roast duck to drop in
|
|
|
|
|
First off, i dont really like what i'm trying to do,but i'm trying to avoid putting a bunch of stuff in the session. I'm using normal hidden inputs not invisible lables. I have several update panels and have tried putting the inputs in an update panel with UpdateMode="Always" thinking it might help, but i can access the control assign it values, but the values dont persist. It all works fine with postbacks, however when the user clicks Refresh all the values go away. And all this is in a content place holder for a master page. I've tried using invisable labels, enableing and disabling the viewstate on both my page and the master page. assigning values a few different ways, moving the code that reads the values inside and outside of !Page.IsPostBack if's. I've also tried a google, but didnt see anything relevent. I can post whatever code you guys want just not sure what all would be relevent. I've used this type of method before just not sure why it isnt working with the ajax and master page.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Where is the control that is triggering the update? In the master page or the content page? Do you have the hidden fields in an UpdatePanel with a trigger for the control that should cause the refresh?
only two letters away from being an asset
|
|
|
|
|
The controls that are causing the updates are all in the content page. The hidden fields are in an update panel with UpdateMode="Always" so it should always postback, though i did get the info from msdn so it may not be accurate. Any other control that can cause a postback is in an update panel with its update mode set to conditional.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
So, trying to follow along. You have two UpdatePanels, and you are trying to update controls in one from events in another? Have you added the controls that trigger the update to the triggers collection of the other?
only two letters away from being an asset
|
|
|
|
|
You are correct. No i have not tried that, reading the msdn doc on it didnt make it sound necessary. I have gotten it to work with the 2 values in the session. I can put a function in the masterpage so that it clears out any unnecessary items when the navigation bar is used. Its not the best way, but i'm not sure if its any better or worse than using hidden fields in the html. If you or anyone else has an opinion on that or any insight into a better way i'd love to hear it. Thanks for all your help so far.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Although the controls are available during the postback, the UpdatePanel, call it the refresh panel, knows nothing about the controls in the other UpdatePanel, call it the trigger, and vis versa. Add the trigger control to the Triggers collection of the refresh panel.
only two letters away from being an asset
|
|
|
|
|
I see what you're saying, I made the mistake of assuming msdn was correct. It said it would always go back on any postback sync or async, I figured it was handeled by the script manager or some other automagical thing.
Thanks for the help.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
SomeGuyThatIsMe wrote: Any other control that can cause a postback is in an update panel with its update mode set to conditional.
I didn't get your point, If the Update Mode of Update Panel is set to conditional you can call the UpdatePanel.Update() in post back of any other control.
|
|
|
|
|
The hidden fields are in an UpdateMode="Always" panel, all the controls that can cause a postback are in an UpdateMode="Conditional" panel. Those panels all 3 or 4 of them work fine, its the controls UpdateMode="always" panel that isnt working properly, but i belive i have it solved w/ 2 values in the session, i know its a bad practice, but i dont know if its much worse than using hidden fields in the html since the data i'm storing there isnt sensitive at all.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Short version
All I need is that, in a ModalPopUp, when the DoubleClick event of a ListItem fires, the click event of my OK button should be executed.
Detail
I have a ModalPopUpExtender, which hosts a user control. The user control has an OK and a Cancel button. Along with that, it has a dynamic ListBox added to it(may be more). So far, I've considered the following possible solutions:
1. Use Ajax.Net. But, I cannot afford to have a WebMethod.
2. Use a ClientScriptCallBack. This will need a lot of JavaScript, since I have made almost every control dynamic.
Is there any other way apart from using an UpdatePanel?
जय हिंद
|
|
|
|