|
He is speaking of those modal pop up based ads. Or the login popups we get on some forums.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
It'd be a DIV styled with CSS. Close button will be an image and when it is clicked, a JS function will be executed which will set the DIV's visibility to hidden.
Best wishes,
Navaneeth
|
|
|
|
|
Hello,
I just started using NUnit to write test cases for my asp.net web application project.
Some of the code written to access database values fetches the ConnectionString from a "section" defined under "configSections" of web.config file.
This works fine during the normal execution of the project on a web browser. But when I access the same method through the test case, WebConfigurationManager.GetSection() always return null.
Initially I was also not able to access AppSettings section of web.config but it got solved when I copied the web.config file into the BIN folder. But still not able to fetch the "section" inside "ConfigSection".
Kindly suggest.
|
|
|
|
|
hi
im using dropdownlist with list items low, mid, top levels..
which are updated in table in sql.
cmd.Parameters.Add("AccessLevel", SqlDbType.NVarChar).Value = DropDownList1.SelectedItem.Value;
im able to update it correctly in sql but when i refresh that web page the dropdownlist always show the 1st list item and it doesnot show the updated list item..
help me...
|
|
|
|
|
You are most likely rebinding the dropdownlist on the postback, however; with see more of the code I can't be sure.
only two letters away from being an asset
|
|
|
|
|
My requirement is to find out whether a user is already logged in or not while the same username is logging in for a second time(may be in another pc/browser). If he is already logged in then I need to log out the first user, kill all his sessions and then the second user becomes active. The user name in first and second log in is the same but may not be the same in person(pc).
Has anyone worked around such a requirement. I plan to use the FormsAuthentication. But I don't mind changing it if this requirement gets satisfied without it
|
|
|
|
|
tonymathewt wrote: If he is already logged in then I need to log out the first user, kill all his sessions and then the second user becomes active.
It should not be ! You should give a message to second user the some one is already logged in from your account.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
My client insists on this feature. He wants the first login to be logged out. Is it possible?
|
|
|
|
|
NavigateUrl="Show.aspx?ID='<%# DataBinder.Eval(Container.DataItem,"ID")%>'"
This is html code I have hyperlink and I need to add the ID in the databinder after the show.aspx?ID=
Something wrong in it it is giving me server side error can anyone help me fix it.
Thanks in advance
|
|
|
|
|
I done my search and I solve my probelm. If anyone else have the same problem here is the solution:
NavigateUrl='<%#"Show.aspx?ID=" & DataBinder.Eval(Container.DataItem,"ID")%>'
|
|
|
|
|
I have the following in my aspx page. My RadioButtonList contains no data. I have 5 records in my DB, and what I need it to display is
Record 1 - RadioButton1 - RadioButton2
.....
Record 5 - RadioButton1 - RadioButton2
<asp:TableRow>
<asp:TableCell CssClass="NormLabel">
<asp:CheckBoxList ID="Upd_AccessList" runat="server" RepeatColumns="1" RepeatDirection="Horizontal"
DataSourceID="DataSource" DataTextField="networkAccessDriveDesc"
DataValueField="networkAccessEmail" >
</asp:CheckBoxList>
<asp:AccessDataSource ID="DataSource" runat="server" DataFile="~/App_Data/MyDatabase.mdb"
SelectCommand="SELECT * FROM NetworkAccess ORDER BY networkAccessDriveDesc"></asp:AccessDataSource>
</asp:TableCell>
<asp:TableCell CssClass="NormLabel">
<asp:Repeater runat="server" ID="Upd_Repeater">
<ItemTemplate>
<asp:RadioButtonList runat="server" ID="Upd_RBL" RepeatColumns="2" RepeatDirection="Horizontal"
TextAlign="Left">
<asp:ListItem>Read</asp:ListItem>
<asp:ListItem>Read/Write/Delete</asp:ListItem>
</asp:RadioButtonList>
</ItemTemplate>
</asp:Repeater>
</asp:TableCell>
</asp:TableRow>
|
|
|
|
|
i'm new to vb.net...How do i create dynamic tabs...for my project i need dynamic tabs, i created tabs and it works fine...but adding tabs dynamically is where i got stuck up...
|
|
|
|
|
Which TAB control are you using ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
it is in asp.net....so i'm using menus and multiview....
|
|
|
|
|
Hi,
I 've created an aspx form and I am taking input from there.Then I've made some rules pertaining to these inputs in Blaze Advisor.I 've deployed the blaze project as an wsdl. Now I've to integrate the .net front end input to the blaze enviroment through the wsdl and get a response from it (populate on screen) so wat is the code for this. If possible give a detailed code.
|
|
|
|
|
Hello all,
I have a gridview on the page. And a dropDownList in all the gridview rows. But, the condition is,the user should not be allowed to select the same value in 2 dropdownlists in the gridview. Do anybody have any suggestion on how can I achieve this validation, using client side validation.
Thanks.
|
|
|
|
|
Hi All, I need my users to be able to check options for days during the month, and I have been able to add a CheckBoxList to each day of the month in the Calendar control, that was the easy part. Now, here's where my difficultly begins; Once the user clicks a save button to store their selections, I can't figure out how to get access to the CheckBoxLists again to read their checked state. I can't find them in any of the Calendar's control collections nor can I find them by using FindControl method. Please Help! Your assistance would be greatly appreciated.
|
|
|
|
|
|
And who made you the forum police? I post in both, because it is an issue covered by both topics for your information. And you might want to re-think that statement.
|
|
|
|
|
Read the rules[^]
Your question does not apply to both. It is ASP.NET related and should have been in this forum only. Very few questions apply to more than one topic and even then you should choose one, and only one, forum to post in. Some contributor here only monitor a few forums, not all. By posting in more than one you're fragmenting the results, everyone may not see all the other responses and give you conflicting or redundant responses, generally wasting everyones time.
Daniel235 wrote: who made you the forum police?
This is a community and we are responsible for it. However, if you'd like to refer a complaint to the webmaster I'm sure Chris would be amused.
only two letters away from being an asset
|
|
|
|
|
hello
i developed two websites both using asp.net
any one know how to make them send info to each other (communicate between each other)
if it possible using HTTP request please send to me code sample about that.
help me
|
|
|
|
|
What kind of communication do you need ? You can also think about WebServices.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
thank you for your reply
i really think about HTTP request
assume that first sever collect the information from table in database that he (the first server) owns rearrange it and send it to the second server the second will receive that date and update its database that exist on it (owned by second) upon to that data
data could be sting , text , int ...
|
|
|
|
|
i don't understand what you talk about
i told you that one server will send info to other sever the oothe will take that info and update his database according to that info
if you think that webservice is good please send to me sample code and explanation about it because i don't have much information about coding in that method.
an if you have any example in HTTP request send it to me please
|
|
|
|
|
You do understand the web is a stateless, disconnected environment? It's not like a Windows app, you can't just push data to another web application, the user must make the request to view the data. Even with a timed refresh it is by request.
The best you can do update a database from one application and trigger the second to refresh and pickup those updates.
only two letters away from being an asset
|
|
|
|