|
Is it able to script confirm box with yes/no button .. if yes help me..
|
|
|
|
|
The confirm box does not show yes/no, it shows confirm/cancel, from memory. You need to write your own control if you want to change the text.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
You can use jQuery.
Regards
Saanj
Either you love IT or leave IT...
|
|
|
|
|
anu_anu wrote: Is it able to script confirm box with yes/no button
Write you own control.
|
|
|
|
|
You can use AJAX.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
How is AJAX going to create a yes/no dialog ? Answer - it's not.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
It's possible by using ModalPopup [^]AJAX control.
I costumized this control in my project with Yes/No functionality.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
vb.net code to set the available themes under the /App_Themes folder
my need is tat i want set theme in master page dynamically
according to user login
|
|
|
|
|
|
The theme applied to the page is also applied to the master page, As the master page is rendered within the pages context.
Just make sure you set the page theme on the PreInit event.
Using the wrong tool for the job is half the fun.
|
|
|
|
|
Dear All,
I have an ASP.Net applicaiton in which, the user can set some preferences and based on that the data is generated as an html report and I kept it in the server with the name "Test.htm", then I am loading the same in an iframe in that page.
In my development environment the iframe is refreshed with new data whenever I am clicking on the "Generate" button.
But when I uploaded, the html report is generated fine but it is not refreshed in the iframe for that I used the following codes in the javascript:
1. MyFrame.document.location.reload();
2. MyFrame.src = "Test.htm"
3. MyFrame.document.location.href="Test.htm"
Can any one help me to get rid of this issue?
Thanks a lot in advance.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
you can load the page from server side for that Iframe tag shoud be runat=server
and in the server you can always keep this code like this
in aspx page <iframe id="getData" height=600 width=300 runat=server scrolling=auto></iframe>
and in .CS page
getThreads.Attributes["getData"] = "Test.htm";
Sree(Sreedhar)
|
|
|
|
|
Hi Team,
While I'm going to load the content page, at runtime it gives the below given InvalidCastException error message.So, plz. help anybody how to resolve this problem.
Thanks in advance.
Error Details:
System.InvalidCastException was unhandled by user code
Message="Unable to cast object of type 'ASP.default2_aspx' to type 'Ergode.Business.BasePage'."
Source="App_Web_ddgqvo7u"
StackTrace:
at Item1.get_MyShoppingCart() in c:\Users\ergode\Documents\Visual Studio 2005\WebSites\ergodetest\Item1.master.cs:line 21
at Item1.Page_Load(Object sender, EventArgs e) in c:\Users\ergode\Documents\Visual Studio 2005\WebSites\ergodetest\Item1.master.cs:line 29
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Thanks & Regards,
Rama Krishna,
Software Developer.
|
|
|
|
|
Please explain why it is that you believe this error is invalid, and what you've done to verify it. How about posting us some code ?
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Actually I have one login page where when I validate the user it let me show
Default page. In that page I have some pages listed.I want to give access of
different pages to different users based on their roles. I am not using
membership and roles provider by going into ASP.Net configuration tab and
creating roles and users over there. I have two tables users and roles
already in my sql server database.
Once after validating the users and getting Default page how can I make sure
that e'g if the user is admin he has access to just administration page wwwand
sales person has access to only sales.aspx page etc
|
|
|
|
|
The obvious thing to do, is to write a base page, which all pages derive from, which checks the logged in member and if they do not have access, redirects. Then set what permissions are needed in the derived page, or create derived pages to then derive from, for each status you want to apply.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
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
|
|
|
|