I just started learning silverlight by creating a silverlight application in Visual Web Developer 2008.
I have a public property defined in the user control. How do I access this property value in the aspx codebehind page? Please help.
...
hi,
i have a change password popup window.i want to send the user name and changed password to the parent window after it has been successfully changed by the popup window and want the popup to be closed after few seconds....but i am not able to call the javascript from the .cs file.i am giving the code..can u help me how to do it...`
s...
how to make button cause validation for some controls and other not..
i have button ..
and i have link button in gridview .
i have textbox ..(has required field validator)
and i have textbox in the gridview.(has required field validator)
what i wanna is : when click the link button is to validate only the textbox in the gridview.
a...
why user AlternatingItemTemplate on listview and copy code from ItemTemplate to AlternatingItemTemplate?
i can't see logic? You can alternate with css too...
...
What is the difference between ASP.NET and C#?
Is ASP.NET better than C#?
And which language has a better labor market?
...
I would like to know how to add some additional child nodes to a custom user control class derived from System.Web.UI.Control.
For example currently I have a control that contains no child nodes and on the design surface looks like the following.
<cust:MyCustomControl id="ctlMyCustomControl" runat="server" attribute1="somevalue" att...
Hello,
I have the following ASP.NET code:
<div id="panelIssue" runat="server" style="width: 450px; height: 320px;">
<gsl:IssueUC ID="ucIssue" runat="server"
OnItemSaved="ucIssue_ItemSaved"
OnItemCancelled="ucIssue_ItemCancelled" />
</div>
and then have an asp:Button on the page that simply call some methods and ...
$.get('data/animals.xml', function(xml){
var animals = $.xml2json(xml);
alert(animals.dog[1].name +'/'+ animals.dog[1]);
});
the code below runs very well for http://www.fyneworks.com/jquery/xml-to-json/data/animals.xml
but how can get rate data from http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
according to code block...
Hi, i've created my own custom model binder to handle a Section DropDownList defined in my view as:
Html.DropDownListFor(m => m.Category.Section, new SelectList(Model.Sections, "SectionID", "SectionName"), "-- Please Select --")
And here is my model binder:
public class SectionModelBinder : DefaultModelBinder
{
public override ...
Anyone know about this? I am trying to embed that plugin and am lost. I have already tried this and this is not working at all. http://developers.facebook.com/docs/reference/fbml/request-form
A help would be appreciated.
...
hi I have the code below could you help me please to rewrite from LINq to SQL to Linq to Entity. thank you
if(account.AccountID > 0)
{
dc.Accounts.Attach(account, true);
}
else
{
dc.Accounts.InsertOnSubmit(account);
}
dc.SubmitChanges();
...
i have a gridview,two buttons(edit,save) ,what i wanna to do is :
when click edit open the gridview in edit mode for all the textboxes.
when click save takes the changes and update
(rather than edit and update row by row)
i use object data source.
...
I need more information on new feature in ASP.Net 4.0 Shrinking Session State.
My question is I am using session-state provider that stores data in a Microsoft SQL Server database. If I add compressionEnabled="true" key in web.config file as shown below and not do any code change, will application performance improve. How to check wheth...
Could any body simply tell me what Medium Trust level is ?
And what does it mean :
"More and more ASP.NET hosting providers are enforcing a Medium Trust Policy on their servers.Therefore it is important to make your website work (as much as possible) in environments where medium trust is enforced."
Thanks
...
I'm starting a port of an existing ASP.NET Web Forms CMS to ASP.NET MVC and want to get the routing right from the start.
Note: it isn't important to have the exact same URL structure.
I think this answer is close to what I'm looking for but would like some additional input should anyone have it.
The current URL struction is like:
...
My session keeps timing out in just a few minutes even though I've specified a 200 minute expiry.
In my web.config I've set the timeout for the forms and the sessionState. I've looked at some other similar questions on Stack Overflow but still can't suss this.
<authentication mode="Forms">
<forms loginUrl="~/Default.aspx" defaultUrl=...
Let's say I have two objects:
public class Person{
string Name { get; set;}
Address Home { get; set;}
}
public class Address{
string Street{ get; set;}
string City { get; set;}
}
string sql = "Select Name, Home_street, Home_city from user";
var results = dc.ExecuteQuery<Person>(sql);
The problem here is ...
My setup is this; first I'm defining a couple of new rows.
newCompany = new company
{
companyInfo = value.company_info,
companyName = value.company_name,
organizationNumber = value.company_orgnr
};
newContract = new contract
{
contra...
I want to make a login system just like Stackoverflow's which have at least Facebook, Twitter and Google openid system.
Is there a all-in-one library for this purpose which can be used in Asp.Net Mvc 2?
...
How to call javascript function when using validation controls on GridView.
I am trying to call confirmDelete function on delete button of GridViews delete button.
I dont have a code as of now. But when I was trying it was throwing an exception at javascript
...