|
Thanx for your reply .
but i want this behaviour to be used in sync with each other.
so is there any control with both the functionality in a single control.
|
|
|
|
|
We maked login page then click login go to other page ok
after that like gmail if we changed url then dont go to home page and dont go to back so simple i want to need code
can u send me
|
|
|
|
|
Once you navigate the user off the website, you can't really go back, since you don't control the other website.
The back button works because they have a cache of web urls, and web pages that they load when you click the back button.
Your idea is a really bad one, poor design.
|
|
|
|
|
WATH IS ASP.NET ,.NET ,framework
:confused
|
|
|
|
|
|
|
I want to add a where clause within a viewbag, to only display items depending on who has access to view the items
|
|
|
|
|
not much clear
modified 20-Sep-20 21:01pm.
|
|
|
|
|
i want to pass id from asp page so i can pass by using static id
but i want to pass id dynamically like using request querystring and i m fall to pass it, can any one solve how to pass id from html tags in asp.net
|
|
|
|
|
|
please I need help....after developing a web application using c# and with forms authentication for managing login, roles etc. its working fine but I notice when ever I log out and retun to my login page online and I don't close the browser window. then i hibernate my system....on returning to login an error pops up takin me to my error page..this does not happen if I close the browser window and access the app with a new window...
|
|
|
|
|
Deal with the error so you can handle it gracefully.
|
|
|
|
|
What error are you getting?
|
|
|
|
|
What is the error you get there.
or it's browser's functionality which cache the data for a while may be.
delete the browsing history.
or if possibility there could be a trouble with the session management.
try these options for checking .
|
|
|
|
|
Mr. Relevant,
I would like the support of relevant experts about the problem you are precious and I could not reach a conclusion on the long-term efforts.
The problem is that the checkbox to add a page I created on my autopostback asp.net I determine the true characteristic of a div block that displays true or false depending on whether or no to being normal.
The TextBox control is hooked into another RequiredFieldValidator control to prevent left blank.
I have seen pages that run had I autopostback work and did the research I've seen enableeventvalidatio the feature pages of this issue will be resolved by making false and I saw him try when autopostback try now but did not work RequiredFieldValidator control at this time. When I do enableeventvalidatio control true this time autopostback does not work, RequiredFieldValidator control started working.
The resources bulamadım.ilgil clear information when you search for the relevant foreign welcome.
I wish you good work.
|
|
|
|
|
is it possible for gridview to filter data based on input from a textbox like with listview in desktop app
|
|
|
|
|
Rather than getting the gridview to filter your data, you should filter the data yourself before you bind it to the gridview. Binding your data via code-behind rather than aspx markup gives you greater flexibility about how you bind data.
|
|
|
|
|
Hy all I had just shifted myself form Winform Development using ADO.net to ASP.net webform using Entity Framework 6..
After working with a little bit of Linq to entity for EF6 .I feel that there is no need of creating another layer for datalayer or business logic as we have aspx page for UI,.cs page for logic autogenerated Dbcontext for Datalayer
Am I correct or is it due to my inexperience ?
|
|
|
|
|
You can consider EF to be your "data tier" so there is no real need to create your own. You'll see lots of projects that look like this
namespace MyDA
{
public Person GetPerson(int id)
{
return ctx.Persons.Find(id);
}
public Person AddPerson(Person person)
{
return ctx.Persons.Add(person);
}
}
if your entire data tier is a list of single-line functions that simply "pass through" to EF then your tier is fairly redundant. The exception to this would be if you didn't want to tie your business tier to EF, and in that case you would probably give access to EF via a repository pattern rather than direct.
|
|
|
|
|
so in that Asp.net with EF is by default three tier isn't it?
|
|
|
|
|
Not necessarily, you could call EF code in your code behind pages making it two tier.
|
|
|
|
|
I think we need the business access layer as well.
|
|
|
|
|
Hello,
I have made a little to in asp.net webforms that displays or add users to an external database.
Also i have a button that generate a report with the current users in the users table.
A popup is opened with the add user form. But the problem i have is when pressing the add user button. It can take several seconds or more to add the data.
Now i want to make this async so when clicked the popup close and a message must appear when the data is added to the db.
I'm a bit stuck to make this possible.
Are threads or Tasks(TPL) something to consider to do this?
|
|
|
|
|
Tasks etc aren't going to help you, what you need to do is make the request asynchronous on the client side using ajax.
|
|
|
|
|
Hi experts,
When I execute the following code,
<asp:CheckBoxList ID="ckRequestReview" runat="server" CssClass="cb" Style="border-width: 0;" RepeatDirection="horizontal" RepeatColumns="4" RepeatLayout="Table">
<asp:ListItem>Step One</asp:ListItem>
<asp:ListItem>Step Two</asp:ListItem>
<asp:ListItem>Step Three</asp:ListItem>
</asp:CheckBoxList>
Dim items As String = String.Empty
If items = "Step One" Then
mypreferredChange = txtTitleChange.Text
ElseIf items = "Step Two" Then
mypreferredChange = "txtPayGradeChange"
ElseIf items = "Step Three" Then
mypreferredChange = "txtClassSpecChange"
Else
cmd.Parameters.Add(New SqlParameter("@RequestedChange", mypreferredChange))
Dim result As Integer = cmd.ExecuteNonQuery()
End If
The checkbox values are stored in one database column name called ChValues.
If a user checks one item, that one item is stored in that fieldname.
If user checks all three, all three are stored in that one fieldname, separated by comma.
In our situation, as in the example above, we have three items on the checkboxlist.
We would like to store the value of each checkboxlist into a separate fieldname.
Is this possible?
The idea is that when we query the db to retrieve these values, we would like each to have its own checkmark.
Thanks a lot in advance
|
|
|
|