|
Both of you can divide the project amongst yourself and then merge the web forms in the application manually.
Steps to follow-
1. Build the webforms.
2. Copy all the webforms & classes which was coded by your friend on your PC in the project folder .
3. Open the solution (.sln) file. Right-click in solution explorer and select "Include In Project". Compile the project.
Your application is built for release.
|
|
|
|
|
Hi,
you have to install source safe and then add project to souce safe.
so you all can work together.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
In my project, I used to use SVN for that.
As Sun Rays suggested, you can also use Visual SourceSafe. VSS 2005 supports web access too..
|
|
|
|
|
Thank you very much!!!
They laugh at me; they think I’m different. I laugh at them, ‘coz they are all same!! CrazySanker
|
|
|
|
|
You can also download Araxis trial version and use that tool to merge your changes. It enables line by line comparison of two files and allows you to insert or delete lines from one file to another.
Regards
N.Surendra Prasad
|
|
|
|
|
Hi
I make a user control like tree.ascx which contains a tree view control. Now I place the user control “tree.ascx” on Default.aspx”.
Now, I want to display an alert message when user clicks on the tree view.
I am facing problems:-
• How to find user Control Id (“tree.ascx”) on default page using JavaScript
• How to find tree view control id in default.aspx using java script;
• And how to show alert message when user click on any node of tree view using JavaScript?
Any help is appreciate
Regards
Rajesh
rajesh
|
|
|
|
|
Get it[^]
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
hi,
i created a rdlc file,in its design mode i dont have any controls in its toolbar.
How to make those Report Item tab included in my toolbox
report item tab is the default control tab
but dont know where i am missing
am i supposed to include any dll???
ne body can help me to sort out dis issue???
zari
|
|
|
|
|
Hi,
I have one master page and one default.aspx page inherted from master page.
Now My Default page has 10 TextBox controls with ID's 'Textbox1','Textbox2',.......'Textbox10' and one Button.
In th button click event I want to catch these textboxes dynamically like
for(int i=1;i<=10;i++)
{
(TextBox) txt = (TextBox)FindControl("TextBox"+i);
}
I saw the viewsource all controlId's are replaced like "ctl00_CphAdmin_TextBox1".
even I tried like
for(int i=1;i<=10;i++)
{
(TextBox) txt = (TextBox)FindControl("ctl00_CphAdmin_TextBox"+i);
}
But not worked .........can any body help me the way to acheive this.
Thnaks
Hari
|
|
|
|
|
Hi,
if your textboxes are in any other control like panel then you have to search panel first and then you have to search textboxes in panel.
Else here,
Kuricheti wrote: for(int i=1;i<=10;i++)
{
(TextBox) txt = (TextBox)FindControl("TextBox"+i);
}
for(int i=1;i<=10;i++)
{
(TextBox) txt = (TextBox)FindControl("TextBox"+i.ToString());
}
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Hi Kuricheti
try this code , i think this will help you.
protected void Button1_Click(object sender, EventArgs e)
{
GetControlval(this.Controls);
}
public void GetControlval(ControlCollection Controlcol)
{
string strTextBox;
foreach (System.Web.UI.Control ctl in Controlcol)
{
if (ctl != null)
{
if (ctl.ToString().ToLower().EndsWith("textbox"))
strTextBox = ((System.Web.UI.WebControls.TextBox)ctl).Text;
}
if (ctl.HasControls())
{
GetControlval(ctl.Controls );
}
}
}
rajesh
|
|
|
|
|
Kuricheti wrote: for(int i=1;i<=10;i++)
{
(TextBox) txt = (TextBox)FindControl("TextBox"+i);
}
Try using --
for(int i=1;i<=10;i++)
{
(TextBox) txt = (TextBox)FindControl(this.ClientID + "TextBox"+i);
}
OR
for(int i=1;i<=10;i++)
{
(TextBox) txt = (TextBox)FindControl(this.ClientID + "_TextBox"+i);
}
Hope this works for you.
|
|
|
|
|
Plz try using "ctl00$CphAdmin$TextBox" instead of "ctl00_CphAdmin_TextBox"
|
|
|
|
|
Hi
I want to add my custom description to my custom class or methods using asp.net.
(e.g) .Tostring() is a method which has a custom description given by Msoft as
"Converts the value of this instance to its equivalent string representation usingthe specified the format "
Likewise i want to add my own customised message to my methods. can you give idea plz.
I hope so u can clearly understand the ques. If not get back to me.
|
|
|
|
|
Hi,
before writting your function you have to type ///
you will see like below.
private void MyExample(Control ctrl)<br />
{<br />
}
hope it will help you.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
yaa,it's working ...
But I'm using webservice..
i've two classes in that service with some methods,properties..
I'm added discription to those methods and properties
But the description is not getting in webapplication for those ...
How can I get it??
|
|
|
|
|
The description which is shown in IntelliSense come from XML file. So, you should probably check whether this doc XML file exists or not.
|
|
|
|
|
Hi, i'm using asp.net 2.0 & c#. i have a functionality which i would be implementing in all my classes (e.g. language change [en-US], [zh-CN], etc.). i found a solution in the web that says i should inherit a base class. here's how my code would probably look like:
public partial class SiteHra_SiteHraHome : MyBaseClass{
}
public class MyBaseClass{
}
Here's my question.. Should MyBaseClass inherit System.Web.UI?
Thanks in advance!
tnx.. ^_^
|
|
|
|
|
System.Web.UI.Control i guess.
|
|
|
|
|
If it's a webform, your base class should inherit from System.Web,UI.Page .
|
|
|
|
|
Hi All
I developed my website in asp.net 2.0. i used master page. there are top menu and left menu in website.
left menu are related to particular top menu. when i click on any left menu page open there.
On the page there is some textboxes and other server controls. I insert some values in textboxes and click ADD TO Grid button. Then all values added temporarily to
the gridview below. like this user can add many rows in grid. after that he can save all rows in database on a single click of SAVE button. I used Datatable to bind gridview.
But if user added the rows in grid view and rather than pressing SAVE button he click on other top menu or left menu.
in this case there should be a message box when he click to another top or left menu. message like this - Do you want to save the records ?
if user click yes then control must be on the same page or data must be saved otherwise open the other menu.
Google (Gmail) also provide such type of facility, when you write some text to send but you do not send the message then there is also message box like
Do you want to Save this message as draft or Discard the message ?
I also want to do such type of activity.
Your answer is appreciated.
|
|
|
|
|
i found this type of facility in code project itself also.
|
|
|
|
|
Hi,
I want to implement a feature like Gmail. When in Gmail, we compose email and without sending a mail, we click other link menu like Inbox, Chats, Drafts , one pop up is displayed with description “Your message has not been send. Discard your Message? Two button like OK and Cancel. Similar feature like Gmail pop up I want to implement in my application.
My queries are:-
I have 10 records in grid view bind with Datatable.This rerecords are temporary store in session. There are two button like “save” and “cancel”. When user clicks the save button record goes to database. But suppose, records are available in grid view and user click other menu or link button. Then in this scenario I want to display a pop up message for user,” do you want to save or discard the record in grid view.
I need your help, how can I do or implement this in my application.
Regards
Rajesh
rajesh
|
|
|
|
|
Hey Rajesh,
Don't just look only Google. We also have like that in our CP.
Have you never seen the text as below??
Are you sure you want to naviate away from this page?
You will lose any unsaved text. Is this OK?
Press OK to continue, or Cancel to stay on the current page.
You can attach the javascript function in "onbeforeunload" event.
|
|
|
|
|