|
Dear All
I have a datagrid in a page, i wrote a code to take a value from this datagrid and then send it to another page to open in a popup window and below is the code.
=====================The code=====================
window.showModalDialog("TradesForReuterCode.aspx?ReuterCode=" + RouterCode + "", 'static' , "status=2,scrollbars=1,left=(screen.width-width)/2,top=(screen.height-height)/2,width=420,height=600");
===================================================
the another popup page opened normally, but the problem is when i try to colse the popup window my parent page make postback and i don't want this, i try a solution to make a button and write another code to close the popup window and below is the code
===================================================
function CloseMe()
{
self.close();
window.opener.location.reload(false);
}
=====================================
But still have the same problem
plz if anyone face this problem before try to help me and thank you in advance
|
|
|
|
|
Hi,
I have the master page inside I am writing like this:
<asp:textbox id="txtStartDate" runat="server">
and in Popup.aspx:
<asp:calendar id="calDate" onselectionchanged="Change_Date" runat="server">
Page_Load
control.Value = Request.QueryString["textbox"].ToString();
Change_Date(...) event for the calendar
string strScript = "window.opener.document.forms(0)." + control.Value + ".value = '";
strScript += calDate.SelectedDate.ToString("MM/dd/yyyy");
strScript += "';self.close()";
strScript += "</" + "script>";
RegisterClientScriptBlock("anything",strScript);
But it is not working Without master page the code is working fine.
Please any one provide me the code for this.
Thanks in advance
|
|
|
|
|
I have a .DLL in my Project/App_code folder, it works without adding any import statements to my .aspx programs on local machine. But when I upload my web app, it says my DLL don't exist. What can I do, can anyone help me, I appreciate it.
|
|
|
|
|
the DLL is both in my project's /bin and /app_code directory and I receive this message.
Compiler Error Message: CS0103: The name 'Sel' does not exist in the current context.
|
|
|
|
|
I solved it, but was wondering If I can change the location of the DLLs, perhaps more local. I had to go up to the root and place my bin folder there. Can I put it in my project folder somehow?
|
|
|
|
|
Assuming this an assembly from another project, or third party, you need to add a reference to it in your application. That's all it should take.
only two letters away from being an asset
|
|
|
|
|
Hi,
In my Webapp. i want the user to type in some fields (textboxes) press the add button.
Then directly is has to be seen in gridview, datalist,...
At the same time the textboxes are made empty and i can type in new things in those textboxes,
press the add button again --> clear textbox, add new line at grid...
How do i have to start,...
Is there maybe a better way to display something like this,...
Thanks
A
|
|
|
|
|
You spelled it out rather clearly, what are you having a problem with?
|
|
|
|
|
Thats a pretty trivial requirement, what problems are you having with it?
|
|
|
|
|
I would like to have something like this!
but how should i begin, can anyone put me in the right direction...
|
|
|
|
|
Check out the data tutorials on www.asp.net, they're a great place to start and will show you how to do what you want.
|
|
|
|
|
Am new .vb.net, but i made it to the end, i understand part. in vb6 the Package and Deployment Wizard did everything for you, package and make setup files and there you go it can be setup. i know here you supposed to install .Net framework in the system that you going to install the Application. but cant you include the .Net in your Application to be installed automatically if its not installed? , cant it install SQlclient if its not installed,. mybe i have read wrong Articles. i have googled the Deployment, but most words being mentioned are "Deplayment is Simpler in Visual Studio.Net than in the Ealier version". i dont bealive until i experince that. Please help me with Deployment or point to a Step by Step Article that Best Explain the Deployment. am using VS2003
Thanks
Vuyiswa
|
|
|
|
|
I don't have it in front of me, so i can't tell you for certain, but I do believe there was a way to install the .NET Framework with your app.
I'm not sure on SQLClient....never used it.
If nothing else, Microsoft's site has a guide on how to deploy the .NET Framework.
Sorry I can't post a link, hope it helps anyhow.
------------------------
using System.People;
Person me = new Person();
me.Certifications = null;
me.Experience = little;
me.WantsToLearn = true;
me.InSchool = true;
me.AskQuestions("C# .NET 2003");
|
|
|
|
|
|
Hi All,
I want to display some data in tree format.
I must be able to populate this tree using a dataset from a Select statement.
The child nodes must have checkbox against each other. This must be checked on/off depending upon the Boolean value in the table.
After populating the tree, when the user checks/uncheck the checkbox in the child nodes, it must update the table.
Can anybody suggest some way to do this? Is there any asp control to do this effectively?
Thanks
|
|
|
|
|
I suggest using a repeater. You'll need two dataTables in your dataset parent and child. In the repeater you can use Div tags or HTML Tables to get the display you want. Then use a CheckBoxList in the item template. Use the repeaters OnItemDataBound event to populate your check box list.
|
|
|
|
|
Hi everybody
I'm using two updatepanel and two updatepanelanimation for eachone. When i triggered one panel, both updatepanelanimations play. But i want only one plays when i triggered. I didn't find solution. Can anyone help?
|
|
|
|
|
|
I already used it. These are my codes. I have two updatepanel and two updatepanelanimation. <code>
<cc1:UpdatePanelAnimationExtender ID="UpdatePanelAnimationExtender1" runat="server"
TargetControlID="UpdatePanel1">
<Animations>
<OnUpdating>
<Sequence>
<Parallel duration=".25" Fps="30">
<FadeOut/>
</Parallel>
</Sequence>
</OnUpdating>
<OnUpdated>
<Sequence>
<Parallel duration=".25" Fps="30">
<FadeIn/>
</Parallel>
</Sequence>
</OnUpdated>
</Animations>
</cc1:UpdatePanelAnimationExtender>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
Last refresh <%=DateTime.Now.ToString() %>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="LinkButton2" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<cc1:UpdatePanelAnimationExtender ID="UpdatePanelAnimationExtender3" runat="server"
TargetControlID="UpdatePanel3">
<Animations>
<OnUpdating>
<Sequence>
<Parallel duration=".25" Fps="30">
<FadeOut/>
</Parallel>
</Sequence>
</OnUpdating>
<OnUpdated>
<Sequence>
<Parallel duration=".25" Fps="30">
<FadeIn/>
</Parallel>
</Sequence>
</OnUpdated>
</Animations>
</cc1:UpdatePanelAnimationExtender>
<asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
<ContentTemplate>
Last refresh <%=DateTime.Now.ToString() %>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="LinkButton1" EventName="Click" />
</Triggers>
</asp:UpdatePanel></code>
|
|
|
|
|
Dear all,
I am using asp.net 2.0 and C# using Visual Studio2005.
I am trying to use membership feature of asp.net 2.0.Now created application id for my project but when I am trying to create roles through ASP.net configuration. It creates roles in other (blank name) application. I would like to create in same application.
How to do that.
Please help
thanks
regards
imran khan
|
|
|
|
|
Hey all
Can any One help me out from this Issue.
I want code which takes documentfilepath as an argument and print all the files existing in the folder.
As i created a table Name:SpoolerTable which takes all the file paths existing in the folder and stores in a column in the spooler table and i am colleting this files or folder path and i am passing as an argument to the function which accepts files paths.
The problem is that i am not able to write the code for the printing functionality.
Can any one help me out from this situation.
Regards
Sai
SaiRamk@vjil.com
|
|
|
|
|
It's always very urgent. This site is populated by people willing to help but don't expect everyone to share your same sense of urgency.
Don't use Urgent, Very Urgent, or any combination of the term in your title.
only two letters away from being an asset
|
|
|
|
|
You should have started your homework earlier.
|
|
|
|
|
dhanabalanr wrote:
dhanabalanr wrote: Suppose i would like to remove that system.data dll. How can remove it (In VS 2003 by right click on the dll name we can remove it which is located in the references folder
If i would like to add system.data dll then i can add it by add reference by right clicking the project in solution explorer.
Yes but System.data dll will get added by deafult so try with different dll that is not present already there
dhanabalanr wrote: 1. where that references has been added and how can view it. (In VS 2003 we can view them in the references folder in the same project in solution explorer)
Are you able to see bin folder in that you can see all your references
Yes in the same way right click the dll in solution Explorer and delete it that will get removed from your project
I think you know all but just making some fun out here
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Sandeep,
Thanks pal. I'm not joking.
First of all there was not Bin folder in my sample project. Then created it by right click on the project in solution explorer and in that Add Asp.net Folder and Click Bin. It created Bin folder.
Then i tried to add system.data dll it is added but i could not find them in Bin. But then i added some other dll than base system dlls like example.dll. i could see it on Bin Dll.
Then where can i find that system.data dll in my project. how can i remove that. This is what i need. sorry for interrupting you.
P.S
I'm working on VS 2005
Thanks in advance
|
|
|
|