|
AspDotNetDev wrote: but I'm trying to find a more "pure" solution).
You can do anything you want, but if you compromise security, then people won't use your website. People are pretty smart now days, and won't enter a username and password unless they see the lock icon.
If there was a more pure solution, it would of been offered.
|
|
|
|
|
jkirkerx wrote: if you compromise security, then people won't use your website
You mean like this website?
I am just learning MVC, and any example code I give is contrived and over simplified, purposely excluding any best practice in favor of clearly communicating the actual problem. Any interpretation of techniques other than those being asked about is pretty unproductive. In case you are curious, the issue being asked about is how to make reusable components in MVC... the login control is only an example.
jkirkerx wrote: If there was a more pure solution, it would of been offered.
Before or after I asked the question?
|
|
|
|
|
touche, good point made
I was under the impression that you wanted to make the login process more pure.
I made a server control and complied it as a dll, and I just drop it in the bin and make reference and call it. The control does an auto shift first using pre-init to ssl, and shifts back out on page change.
|
|
|
|
|
Hello
I need to develop a simple website on which pdf files can be hosted and the user can search and download those file. Its like online journal website for better understanding have a look at the website below we need a clone for the same with some reduced fucntionality.
Its more or less like a Periodicals Subscription & Management System if this could help in understanding it better.But again I need it with some reduced functionality.
http://jpronline.info/index.php/jpr/[^]
What should be my starting point to go about the solution for this. I am also confused about technology I should use. I want to make it as simple as it can be don't want to end up complicating a simple task. So, please suggest the simplest approach to build the solution and perquisites for the same.
Thanks
|
|
|
|
|
|
it is possible to utilise msflexgrid in vb.net 2.0.
if yes then how
please answer this quition soon.
|
|
|
|
|
It is possible to use MS Flex Grid in Vb.net. Since MS-Flex grid is a Com component. You need to Convert that first into dotnet component using AxImp.exe(from command line) or if
you are using Visual Studio.Net Add reference to the MS-flex Grid COM component.Visual studio automatically converts that into .Net component.
source: is it possible to use flexgrid in vb dotnet?[^]
|
|
|
|
|
I have a ASP.NET(3.5/C#) Web Application. I want to access this application in Smart phones and tablet computer. So please help me on this. What are the changes required?
My project is a Dashboard project. We are using DonNetCharting controls (This is a Third party dll) for generate charts. There is a minimum use of CSS. So please suggest me, what I have to do in this?
DevPintu
|
|
|
|
|
Have to display the details after the click event of the link button from the dynamically generated literal control.
|
|
|
|
|
please elaborate. And it would be better with code.
Help people,so poeple can help you.
|
|
|
|
|
Guys;
About targeting post-backs such as those caused by LinkButton s, we can set a target for the post-back form during the __doPostBack() function by injecting the page with new definition of the function __doPostBack() . Just like the code below:
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.target = __getPostBackTarget(eventTarget);
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
theForm.target = '';
}
}
My question is about the controls that has submission behavior such as input type submit
and input type image
Help people,so poeple can help you.
|
|
|
|
|
I was trying this code
ListBox1.Items.Add(checkboxlist1.SelectemItem.ToString());
but its not adding the item to listbox.
Only adds first item to list box....
please consider and help for it.
|
|
|
|
|
SelectedItem : Gets the selected item with the lowest index in the list control, details here.[^]
Go in a loop , find all the items that are marked checked and use them.
foreach (ListItem item in lstMultipleValues.Items)
{
if (item.Selected)
AnotherList.Items.Add(item);
}
|
|
|
|
|
Sandeep thanx for reply but its adding previously checked item again and again.
|
|
|
|
|
Not sure what you mean by it. It's not adding all the items marked?
Further, to avoid reference issues, create a new listitem every time you find that the checklistbox item is selected and then add that to the new list.
|
|
|
|
|
Make a loop iteration on the CheckBoxList on counter from Zero (0) till the item count in CheckBoxList.
then inside for loop, at every index put a if condition for, if the item at that index of CheckBoxList either the check box is checked or not,, if it is checked then add that item to a temporary created Data Table or DataSet, every time the condition falls true...
as the loop ends now Data Table or DataSet is populated with only Checked items from CheckBoxList.. Now bind this Data Table or DataSet to a ListBox .
- Happy Coding -
Vishal Vashishta
|
|
|
|
|
protected void CheckBoxList1_SelectedIndexChanged(object sender, EventArgs e)
{
ListBox1.Items.Add(CheckBoxList1.SelectedItem);
}
you have to add a ListItem in add method not a string!
and listbox selection mode should be multiple!
|
|
|
|
|
how to make video to interact with user in same tim through watch it
|
|
|
|
|
|
how can i embed vlc player in Asp.net
|
|
|
|
|
|
hello all...i want to integrate mobile recharge api with my web application in asp.net 3.5, c#.. so that one can recharge mobile using application..
+ i am having recharge api for mobile recharge
+ want detailed description on how can i integrate that api with my web application so that i can recharge mobile using my application..
modified 11-May-12 3:15am.
|
|
|
|
|
|
It's better to ask here, go to ask in Api provider forum or support team. But if you are having problems during the implementation in Asp.Net then you can ask here. Because most of the person don't have experienced with Third party API.
Thanks
Parwej Ahamad
|
|
|
|
|
Check if you can get some information (API documentation) from the vendor.
|
|
|
|