|
Hi,
There is no problem in your coding, But this is your Visual Studio's Problem. Please restart it, and then see it.
Naresh Patel
|
|
|
|
|
I tried but still getting same error. P.S. i have installed VS2005 sp1 a month ago. Any ideas on what should i do and wether this error will appear if i deployed the application for the client.
|
|
|
|
|
Hi,
Please remove the check from "Allow this precompiled site to be updatable"
And then try...
Naresh Patel
|
|
|
|
|
dear all i want to display the following structure inside grid.
First Previous 1 of 10(inside a text box) Next Last
or
<< < 1 of 10 > >>
Can anyone help me with source/example/steps.
sanjay kumar samantaray
|
|
|
|
|
Hi all,
I have to make a call to a central stand alone class, which will write auditing data to the database.
I was wondering which would be the quickest way; either from a httpModule or via the Page_load event of our master pages?
Please can any one advise, as I cant seem to find any answers on the web
many thanks
Janet
Lady Programmers are a rare breed!
|
|
|
|
|
Janet Dixon wrote: either from a httpModule or via the Page_load event of our master pages?
I feel through HTTPModule. Of course there won't be much performance difference for both methods. But HTTPModule will be easy for maintaining/updating later.
|
|
|
|
|
Thx v.much
Lady Programmers are a rare breed!
|
|
|
|
|
hi all
i am deverloping web application to shoping card
i have question to card, some body tell me this card will store in session. but i afraid it will time out
could someone tell me ?
do u know some web site as amazon, what kind of card it store
|
|
|
|
|
What are you talking about ? Do you mean shopping cart ? Or do you mean a credit card ?
Yes, a session will time out, that's inevitable. You can store what someone has in their cart in a cookie, or in your database, if they need to log in to use it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
sorry it credit card, but if store in cookie after transaction it sitll get all data credit card
or after finish transaction so delete this cookie
-- modified at 0:51 Tuesday 14th August, 2007
|
|
|
|
|
hi friend
i am using remoting on same system then its work properly . if i using remoting server on different system and client on different system then error generates:-
A remote side security requirement was not fulfilled during authentication. Try increasing the ProtectionLevel and/or ImpersonationLevel.
any body tell me what problem here and how to remove this problem...
help me
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
|
|
|
|
|
Are you using Impersonation in your application?
If so, it will work in the same network, will fail on other network.
|
|
|
|
|
how we use impersonation. itss use only in asp.net(clinte) config file or also it have some property or coding in remote server aplication.
plz provide some example or code for this.........
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
|
|
|
|
|
Hi,
I posted this kind of thread a few days before as well although I got replies but unfortunately my problem is still there so here I am repeating my question. My requirement is that when user closes the browser window it should logout autmatically.
The problem is that I am new in Visual Studio 2005 (Asp.net 2.0) and a developer already made this, I am just updating it. I don't have any idea how new login system works in VS2005. I really don't know how he is storing or checking that whether user is login or not?
I have found following code in commonMaster page.
if (Properties.IsLoggedIn)
{
string cookieName = FormsAuthentication.FormsCookieName;
HttpCookie authCookie = Context.Request.Cookies[cookieName];
FormsAuthenticationTicket authTicket = FormsAuthentication.Decrypt(authCookie.Value);
MembershipUser mu = Membership.GetUser();
Properties.EndUserGUID = mu.ProviderUserKey.ToString().ToUpper();
DateTime expiration = authTicket.Expiration.AddSeconds(-90);
if (expiration < DateTime.Now)
{
mu.LastLoginDate = DateTime.Now;
Membership.UpdateUser(mu);
FormsAuthentication.SetAuthCookie(Context.User.Identity.Name, true, "/");
}
}
If anybody knows about it please help me! Thanks. Bye.
|
|
|
|
|
this.outlet.SelectedIndexChanged += new System.EventHandler(this.outlet_SelectedIndexChanged);
this way we can fire an event is this correct or not in asp.net
this is not firing the event
do i need to add anything after this
|
|
|
|
|
kalyan_2416 wrote: is this correct or not in asp.net
Yes It is correct
kalyan_2416 wrote: this is not firing the event
It depends on where you wrote the above line. Have you wrote outlet_SelectedIndexChanged method ? How you understood that it is not firing event ? Make sure that controls autopostback is set to true.
|
|
|
|
|
Try this:
Add AutoPostBack="true"
<asp:dropdownlist id="ddlBrand" runat="server"
="" onselectedindexchanged="ddlBrand_SelectedIndexChanged" autopostback="true">
ravi chandra
|
|
|
|
|
hello everyone,
I have a small doubt regarding the CheckBoxList.I want to capture the ID of the checkboxlist items using the javascript.Can anybody help me in writing the code.Thankx in advance.
ok byeeeeee
Murali
|
|
|
|
|
CheckBoxList will be rendered as several HTML input checkbox. View source the page and find checkbox names. It will be generated in sequential way. You can loop through it and get the objects.
|
|
|
|
|
I had written a example for you :
<br />
<script language="javascript"><br />
function Test(objSource)<br />
{<br />
for(var i = 0;i< objSource.childNodes.length;i++)<br />
{<br />
var obj = objSource.childNodes[i];<br />
if(obj.tagName != null <br />
&& obj.tagName.toLowerCase() == "input" <br />
&& obj.type.toLowerCase() == "checkbox")<br />
{<br />
alert(obj.id);<br />
}<br />
else<br />
{<br />
Test(obj);<br />
}<br />
}<br />
}<br />
<br />
function GetIDs()<br />
{<br />
var objSource = document.getElementById("CheckBoxList1");<br />
Test(objSource);<br />
}<br />
</script>
-- modified at 8:34 Monday 13th August, 2007
learning english
|
|
|
|
|
hello everyone,
I have a small problem in CheckBoxList control in asp.net.
When i take checkboxlist of 2 items.When i Click on the second item checkboxlist, i should get an an alert message showing that this selection is not acceptable.To do this we have use javascript only but not with the checkboxlist_selectedchanged event ,that alert message should fire when i click on the button.Plz anyone help me fast this is urgent for me.
ok byeee
Murali
|
|
|
|
|
Hi, You want to select only one item from your checkboxlist??
If yaa then
use RadioButtionList.
Naresh Patel
|
|
|
|
|
Hi,
I have an asp:Repeater and need to add an asp:DropDownList in it (i.e. nested).
The asp:Repeater works but not the asp:DropDownList.
<code>
Sub R1_ItemDataBound(Sender As Object, e As RepeaterItemEventArgs)
Dim ds As New DataSource
Dim data As New DataSet
data = ds.GetDataFunction
If (e.Item.ItemType = ListItemType.Item) Or _
(e.Item.ItemType = ListItemType.AlternatingItem) Then
Dim a As DropDownList = e.Item.FindControl("ddl")
a.DataSource = data1
a.DataValueField = "ID"
a.DataTextField = "name"
a.DataBind
End If
End Sub
</code>
And the html code
<code>
<asp:DropDownList id="ddl" runat="server" OnItemDataBound="R1_ItemDataBound" />
</code>
The DropDownList shows but it is not populated. What am I doing wrong?
Thanks.
Desmond
|
|
|
|
|
sandrider wrote: a.DataSource = data1
Use like,
a.DataSource = data1.Tables(0)<br />
<br />
or <br />
<br />
a.DataSource = data1.Tables(TABLE_NAME)
DataSet is a collection of Data Table, but you can assign the DataTable as a DataSource. Try the above code.
|
|
|
|
|
Hi Venkatesh,
Thanks for your help but it didn't work. I've found the problem.
Desmond
|
|
|
|