|
hi Rajiv
use DayRender Event of Calender control..
it gets fired every time when a new day control is created in calender
just check the current month or day or date in this event and make it disable if it is less than current month.
try this.
Thanks & Regards
Vishal Sharma
vishalsharma556@yahoo.co.in
|
|
|
|
|
Dear All,
I am making web application using Asp.net C#(Visual Studio2005).
I have made small web application. Now when I run it through IDE(VS2005), it smart from the page which I have set default. But when I run same through IIS. It does not start from specified page.
I want it should start from the specified page. Where I am going wrong. Please help
Please Guide me or atleast give some help full link.
thanks
regards
imran khan
|
|
|
|
|
keep the page name , Default.aspx or index.aspx or change in the IIS .
Naveed Kamboh
|
|
|
|
|
In IIS, Under properties of ur website.. u need to add ur Default page name (Documents TAB).
"If our Mind can, the Program can !!"
|
|
|
|
|
|
Hi Friends
I have two Classes Class A and Class B.
In class A i have one method xyz which collects data from database and fills properties of class B.
Can I return class B from method xyz ?
if then can i access properties of class B at its calling point. thanks
Naveed Kamboh
|
|
|
|
|
I hope you are saying of returning an object from another class???
|
|
|
|
|
using System;
using System.Web;
public partial class Trial : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Test test1 = this.ReturnClass("Hello");
Response.Write("" + test1.name);
}
protected Test ReturnClass(string var)
{
Test test = new Test();
test.name = var;
return test;
}
public class Test
{
public string name;
protected string Place;
}
}
Is this the thing u want?
Koushik
|
|
|
|
|
Yes it is, let me try .
thanks
Naveed Kamboh
|
|
|
|
|
interface IMyClass{
...
}
public class ClassA : IMyClass{
...
}
public class ClassB : IMyClass{
...
}
public partial class Trial : System.Web.UI.Page{
protected IMyClass ReturnClass(string var){
if("Something".Equals(var))
return new ClassA();
else
return new ClassB();
}
}
File Not Found
|
|
|
|
|
hey friend
i am working with datagrid.i want to save id from datagrid colomn.and use this value on other page .
i save the value in this form
Protected Sub Grdplace_RowDataBound(ByVal sender As Object, ByVal e
e.Row.Attributes.Add("onclick", "test('" & e.Row.Cells(0).Text.ToString & "')")
but it ot sucees fulll
Piyush Vardhan Singh
Programmer
TAS NewDelhi
9313077379
|
|
|
|
|
Instead of adding onclick event in RowDataBound, try adding it in ItemCreated one.....
Try like this :
private void Grdplace_ItemCreated(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)
{
e.Item.Attributes.Add("onClick","RowClicked('"+ e.Item.Cells[0].Text +"')");
}
I've used c#.net,Please cahnge as VB.NET
|
|
|
|
|
Hi,
Can anybody please let me know the exact differences between SOAP and HTTP protocals. thanks a lot in advance
Thanks and Regards
Venkat
|
|
|
|
|
HTTP is the protocol of the web, go look it up at WikiPedia for the ins and outs of it. SOAP is an XML web service protocol (one of many) and runs on top of HTTP. You can't really compare them, they have different purposes.
Come to think of it you can look them both up at WikiPedia for extensive explanations.
|
|
|
|
|
|
I need to integrate Intuit's quickbook into my application, i`m using asp.net/c# , please help me with suitable sample applications, i`m a newbee, plz provide some intro of this too
|
|
|
|
|
Here's your start point: http://developer.intuit.com/
I'm fairly sure that you have to pay for the SDK. I was supposed to do some dev work in it several years ago, but the project never happened.
|
|
|
|
|
QuickBook SDK should be a starting point for you.
|
|
|
|
|
I have developed a crystal report in asp.net 2005.I execute the following code.
objReportDocument.Load(Server.MapPath(ReportFileName));
objReportDocument.SetDataSource(dsReport.Tables[0]);
CrrptViewer.ReportSource = objReportDocument;
CrrptViewer.DataBind();
i have pasted partial code only.
Problem is that the crystal report is working on all machines where asp.net is installed but not working on system where asp.net is not installed.
Please tell the solution in detail.
Thanks & Regards
Ajay Sharma
|
|
|
|
|
That needs merged modules
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
hi guys
in .net when we want to derive a class from another class we use this syntax.
public class MyDerivedClass : MyBaseClas
{
...
but whenever we create any class, it is automatically get derived from system.object.. how it happens and who does it...
e.g.
public class TestClass
{
public string FirstName;
public string LastName;
}
if you have noticed any way that whenever we create object of this class in our code, we get Equals(), ToString(), GetHashCode() and another method of System.Object class also..
can any body explain
regards
vishal
Thanks & Regards
Vishal Sharma
vishalsharma556@yahoo.co.in
|
|
|
|
|
Actually, any class is by default derived from System.Object class.
System.Object class is at the top level in hierarchy and even if you don't derive from it explicitly,it is done automatically.
This is the .net framework feature.
|
|
|
|
|
Hi All,
Please tell me how to use vss in .Net Applications .I need all steps to do the task with vss.
Thanks
|
|
|
|
|
|
VSS : visual Source Safe.
|
|
|
|