|
hello friends,
I want to design role and user based security for my application.
Can anyone suggest me..how to design database for this? or any idea regarding this?
thanks in advance
Amit
|
|
|
|
|
For this you can use ASP.NET memebership. It will do everything for you including db etc. You just need to run aspnet_regsql command to create your database.
For details have a look to the following links
Link 1
Link 2
Let me know if you have any other requirement.
|
|
|
|
|
Brij wrote: You just need to run aspnet_regiis command to create your database.
aspnet_regiis is used to register your IIS with ASP.NET Framework version.
To create membership provider DB, you need to run aspnet_regsql command !
I guess that was your Typo !!
|
|
|
|
|
yes that is typo.. Thanks for pointing.
I'll update it
|
|
|
|
|
Thanks brij for the quick reply..
I think this article elaborates Role base authorization. I want to develop User based authorization where every user will have different access rights. for eg. suppose I have a form testform.aspx . Now some users can read, some can modify, some can delete like this.
Any suggestion for this ?
Amit
|
|
|
|
|
iamdking wrote: Any suggestion for this ?
Just what you have been told, ASP.NET membership and roles
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi All,
Hope this is right place to post this issue. If not, please let me know the right forum.
I've a webservice and I would like to access the webservice using activeX control. I'm new to activeX concept. Can you please guide me to achieve this. Thanks in advance.
|
|
|
|
|
Hi,
there is a good article about this at MSDN:
http://msdn.microsoft.com/en-us/library/bb735856.aspx#_Toc156817373[^]
To put it simple:
You have to write a COM-component (can be done with .NET) consuming the service (should be simple). Then you have to register the component at the client and invoke him using e.g. VBScript
Hope this helps.
Regards
Sebastian
|
|
|
|
|
Hi Guys,
I am new in developing web page. I have a button which after pressing refer to another page. that page include series of line which is regarding policy description. the issue is when I direct to that page I cant't scroll it to see all the content.
thanks in advance
|
|
|
|
|
future3839 wrote: the issue is when I direct to that page I cant't scroll it to see all the content.
You problem is not clear to me. What do you mean by "Direct to page" ? You want page to automatic scroll to particular policy description ?
|
|
|
|
|
HI
I am useing 2008 server and from that i am not be able to send mail ..Wchich setting i need to set?
|
|
|
|
|
|
jintalPatel wrote: i am not be able to send mail ..
What problem are you getting ? What settings have done ?
|
|
|
|
|
Hi,
I have a TabContainer on my page that has 4 TabPanel,
i've placed in each TabPanel a button with a click event,
but only in the first TabPanel the event is fired.
Note, also if i placed a button outside the TabPanel the event
isn't working.
Can someone please help me?
10x
|
|
|
|
|
Solved!!!
I had a RequiredFieldValidator at the first tab
and when i pressed a button inside a diffrent tab the code-
if (!Page.IsValid)
return;
stopped the event.
To solved it i needed to give a validationGroup to the button in the first tab.
|
|
|
|
|
|
Hello All ,
I have used a CalendarExtender in my page with textboxes. When I press enter key in another textbox, calendar's popup is appearing.
I have used defaultbutton attribute in form tag and tried keeping my button id as defalut button but this is also not working.
Please help me out in same..
Thanks In Advance
|
|
|
|
|
You have described what is happening but where is your question?
You don't want calendar to pop up when Enter key is pressed? Or something else?
Edit you post to add more details.
..Go Green..
|
|
|
|
|
I dont want popup to appear when enter key is pressed.
|
|
|
|
|
I may not be correct, but let me tell you my views on the issue.
When enter key is pressed from a TextBox, it posts back the page. This is the default behavior of a TextBox.
I somehow think this is causing the issue.
For a workaround, add the following code in the page load.
TextBox1.Attributes.Add("onkeydown", "return (event.keyCode!=13);");
TextBox1 is the id of the textbox which causes calendar pop up when enter key is pressed.
I say this again, my answer may not be correct and is just my view about the issue. I will wait to hear from people here.
Edit: changed code to suit better for OP's requirement.
..Go Green..
modified on Tuesday, September 6, 2010 9:37 AM
|
|
|
|
|
Thanks..
But its not about one textbox, whenever enter key is hit on any the the text box present on that page, is resulting pop up to appear..
|
|
|
|
|
Check it on one of the TextBox, if it works.
..Go Green..
|
|
|
|
|
yes, that is working fine..
|
|
|
|
|
You have the issue and the solution.
So, write a function which will disable this behavior for all textboxes in the page.
..Go Green..
|
|
|
|
|
I made method using all text box fields, setting their attribute,calling from page load. But now when I use press enter key , control is moving from 1st text box to 2 nd, 2nd to 3 rd, and once reaching to the last text box, hitting enter key is taking control to my search button placed next to the last text box.
|
|
|
|