|
@ Dinesh,
I don't think it is the browsers, there are two common things (a) IIS 7 and (b).NET but I am just guessing on these however, if all browsers perform correctly after supplying the prefix www. then we can safely assume that these are now out of the equation, would you agree?
If firefox and the others are working in vista without the www. then could it be something to do with user agents through IIS 7!! Another guess, I don't know enough about user agents
BTW, I also downloaded MAC's Safari for windows and it did the same thing.
Actually we may be able to dismiss .NET since IIS serves up the pages (another BTW, I pre compile my site) so may be all roads lead to IIS but I cant test this theory, don't have the tools or know how...
I am just happy that the problem is solved and others may benefit by my discovery.
theLizard
|
|
|
|
|
I'm not able to come to any conclusion on this issue. But, as you have stated, its good that you managed to find the issue and solve it. It sure is going to come handy to others!
|
|
|
|
|
Is it possible to hide RequiredFieldValidators in the design view, because they screw up my
page layout ?
TIA
|
|
|
|
|
AFAIK, it isnt . You might collapse / expand the portion of html though in the source of Design view.
But why do you require to see the design view? I always work with the source as design view places lots of unnecessary css which makes the pages unnecessarily heavier.
I would recommend you to write your own html, rather than depending on the design view.
|
|
|
|
|
Hi I am thinking of developing an application for firefox only.
Thus avoiding any multiple testings.
There for is there a way of preventing running on ie and chrome opera etc
Is this a common scenario ?
G
|
|
|
|
|
When there is a will, there is a way
Check this.Request.UserAgent
If you see Firefox in the string, it is Firefox. Redirect to an error page when the User Agent is other than Firefox.
|
|
|
|
|
Hi, you can check the bowser type by a JS function on your master page:
function checkBrowserType(){
if(navigator.userAgent.toLowerCase().indexOf("firefox") != -1){
// you can try to alert something or redirect to another error page.
}
}
April
Comm100 - Leading Live Chat Software Provider
modified 27-May-14 8:59am.
|
|
|
|
|
Hi.
First of all, I am new to asp.net development.
What i have is, a C# aspx page with, lets say an ordinary button.
What i need is, any kind of video player that can, upon click on the button, play/stop a windows media server stream from a url.
Where do i find such a player, that is easy to implement? I cant seem to use the ordinary media player control as in normal c# application forms.
Any help is highly appreciated.
Kind regards,
Lars
|
|
|
|
|
You can Use "Silverlight" to create a simple Media Player
|
|
|
|
|
Thank you for your answer.
Im new to web pages, but I have been looking for silverlight solutions already. The problem is, that those examples out there, are using a static video control.
For en example, a video player has an embedded start/stop button. What I need is to control this player outside of the videoplayer. So when, for an example, a user clicks on a button on the page, or the page recevies a message from a server, the video would start.
This is no problem in an ordinary application, but how to do it in a web app?
|
|
|
|
|
I have a button and a repeater, its datasource is a list of strings. When I click on the button, a new item is added to the repeater's datasource and the page refreshes, but I can't see the change in the repeater till I refresh the page again. What should I do in order to see the changes immediatly?
|
|
|
|
|
It'll be better if you put your code also here.
Check one thing, when you add a item in datasource, then are you binding it again or not?
Cheers!!
Brij
|
|
|
|
|
I bind it again on the linkbutton onclick event, it's seems very simple.
mylist.Add("new name");
mydb.UpdateNames(mylist);
rpt.DataBind();
mylist is the datasource of my repeater.
every time the page loads I take the list from the db and display it.
|
|
|
|
|
Where are you setting the datasource?
One thing also check, onitemdatabound event gets fired for updated list or not?
Cheers!!
Brij
|
|
|
|
|
I have a user control with a linkbutton and an invisible textbox. When I click on the linkbotton the textbox is supposed to become visible, actuaaly the page is refreshing and the textbox stays invisible, only the second time I click on the button, the page refreshes and the textbox become visible.
I should mention that I add this user control dinamically to a panel via code-behind(pnl.Controls.Add(control)
|
|
|
|
|
Where is your invisible textbox? In user control or anywhere else.?
One thing you can also do, set the visiblity from javascript by setting the property objtextbox.style.display .It also wont require postback.
Cheers!!
Brij
|
|
|
|
|
my textbox is in the user control. Anyway, I can't use javascript because when I click on the linkbutton I have to change a value in the my DataBase so I should use c#.
|
|
|
|
|
benams wrote: I add this user control dinamically to a panel via code-behind(pnl.Controls.Add(control)
When you are adding the user control on Page ?
Did you tried to add the control before Page_Load() . Add the user control in Page_PreInit() Event and try then.
Let me know if you have any issue.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I have just added it on the page_init and it works. thanks
|
|
|
|
|
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I set the maximum property of the range validator to 999, but even if i type numbers exceeding
999, the error is not shown unless i type a really big number.
|
|
|
|
|
Can you please show us the code snippet for that section ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hi,
you can use regular expressions like:
<asp:textbox onkeyup="this.value=this.value.replace(----your regular expressions---- ,'')">
↑
0→999:/^(\d\d\d)*$/
modified 27-May-14 4:58am.
|
|
|
|
|
Rue Leonheart wrote: I set the maximum property of the range validator to 999,
Did u Change From string to Integer in the property..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
When my validators are showing errors, I can't navigate away from the page when clicking links. Any solutions. Thanks.
|
|
|
|