iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
Web Grid EditTypes CalendarCombo and CalendarDropdown do not work when I click on the Calendar Icon.
Looking in the Web log, it is looking for:
/NewCoServices/Repairs/ISRes.axd G/ISCalendar.htm
"NewCoServices" is my website. "Repairs" is where the containing WebPage exists. Everything else does not look in the current directory but the root and they work.
/NewCoServices/ISRes.axd G/wg5_calendar.gif/NewCoServices/ISRes.axd G/wg_currow.gif
Why is it looking in for ISRes.axd in /NewCoServices/Repairs and not /NewCoServices?
Doug
Hello Doug,
I just received some news from our developer teams. As I said before, the resources should be loaded well even though it is inside a root or subfolder.Due to security settings, It might be .axd files/handler are included into your security authorization.So, would you mind to excule those .axd from your security authorization settings? For further investigation, please send me your web.config.
Regards,Handy
I am sorry but it seems that I couldn't replicate the issue on my end.
In your previous thread (http://www.intersoftpt.com/Community/WebGrid/HTML-Style-for-BODY-Tag-changes-colors-in-WebGrid/), I have attached a sample file.
In the sample, I created two WebGrid controls. The 2nd grid is using CalendarCombo and CalendarDropdown in BirthDate and HireDate columns. Both of the EditTypes controls work fine on my end, as you can see in the attachment picture.
Thank you.
Your example also has the same problem.
To reproduce:
- Put you example in a sub directory.
- Run your sample
- Open the IIS Log
- Search for "ISRes.axd G/ISCalendar.htm"
Is it looking for "ISRes.axd G/ISCalendar.htm" in the sub directory where you put your example?
If so, why?
Other ISRes.axd GETs are from the root of the application.
Why is the CalendarCombo/Dropdown the only one using the current directory (sub directory)?
I have my application locked down for security purposes. Every page must be in the Web.sitemap.
The way it is behaving now, I have to add ISRes.axd in every directory where the CalendarCombo/Dropdown is used.
I can run the sample fine even in sub directory. Please let me know if your current project is http or FileSystem. Also, Do you use SmartWebResources for your project? For more information, please send your web.config. Maybe some images path is set incorrectly within web.config.
Of course it runs for you, you don't have the same security I do.
I am running HTTP.
I am running SmartWebResources.
Did you even look in the IIS Log?
Again, "Is it looking for "ISRes.axd G/ISCalendar.htm" in the sub directory where you put your example?"
Please provide your IIS log file so I can show you.
E.g My Website name is "WebGridTest". I placed the page in subdirectory "WebGrid".
As you said before, it would look into ISCalendar.htm.
My log should be "GET /WebGridTest/WebGrid/ISRes.axd G/ISCalendar.htm/01 80"So, if I enter "http://localhost/WebGridTest/WebGrid/ISRes.axd?G/ISCalendar.htm/01?80",I can access the resources file.
I don't know why it opened into the subsdirectory instead of root. I will need to discuss with our developer teams.
However, I am still able to make it runs properly.
If you suspect security can replicate this issue, would you mind to let us know the step by step to replicate this issue?
Great, you have reproduced the issue I am asking about.
It would take a long time to get you to implement the customized security using the web.sitemap.
As in my intial post, other GETs are from the root
Please do discuss this with the developers.
Is there a way to change this behavior?
If not, what other controls use the current directory to GET ISRes.axd?
Thanks,
Ok, I will discuss this to our development team. But as far I know, even though the log is looking into subdirectory, as long it can open the resources images, then the issue should be not happened.There are some issues when the images could not be shown.E.g under in IIS7.To resolve this issue, normally we moved the resources handler into <system.webServer> in web.config.
The web.config will look like following:
<system.webServer> <validation validateIntegratedModeConfiguration="false"/> <handlers> <add name="ISCoverFlow.axd_GET" path="ISCoverFlow.axd" verb="GET" type="ISNet.WebUI.Silverlight.WebAqua.WebCoverFlowRequestHandler, ISNet.WebUI.Silverlight.WebAqua" preCondition="integratedMode"/> <add name="ISChart.axd_GET, POST" path="ISChart.axd" verb="GET, POST" type="ISNet.WebUI.WebGrid.Chart.ChartRequestHandler, ISNet.WebUI.WebGrid" preCondition="integratedMode"/> <add name="ISRes.axd_GET" path="ISRes.axd" verb="GET" type="ISNet.WebUI.WebResourceHandler, ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=b1f2a8511635667a" preCondition="integratedMode"/> <add name="WebFileUploaderHttpHandler.axd_GET" path="WebFileUploaderHttpHandler.axd" verb="GET" type="ISNet.WebUI.WebTextEditor.WebFileUploaderHttpHandler, ISNet.WebUI.WebTextEditor" preCondition="integratedMode"/> <add name="ISScheduler.axd_GET" path="ISScheduler.axd" verb="GET" type="ISNet.WebUI.WebScheduler.WebSchedulerRequestHandler, ISNet.WebUI.WebScheduler" preCondition="integratedMode"/> </handlers> <modules> <add name="WebFileUploaderHttpModule_GET" preCondition="managedHandler" type="ISNet.WebUI.WebTextEditor.WebFileUploaderHttpModule, ISNet.WebUI.WebTextEditor" /> </modules> </system.webServer>
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname