|
sara malik wrote: hope so this time i explained my problem more precisely
well, what you want to do is seems doable to me, but that involves a good deal of code.
here is how I would do it. In the page A, you need to track which items are selected (have their corresponsing info showing in B). FOr this I will keep an array and set the state as I open the link in B. When B is closed, I listed to the onunload event and return back A a status through window.opener . The rest is straight forward.
hope this helps.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Yousuf : When B is closed, I listed to the onunload event and return back A a status through window.opener. The rest is straight forward.
Sara:My actual problem start from "When B is closed".i couldnt understand how "A" comes to know that "B" is closed as both are opened in two seprate windows.
Does B has some info about a if yes then what?
and i never use windows.opener, does there is some solution on server side script ie C#.
please help me i will be very greate full to you.
|
|
|
|
|
I have a placeholder control in my form,in which I am generating 4 radio buttons dynamically. Everything is working fine and I am getting the values also.
The issue is all the radio buttons are displaying in one line, that is horizontally. Is there any way that I can set them as vertically while generating? The UI looks weird because of this.
Anybody have any idea?
Thanks in advance.
meeram395
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
i think this help u'''''''''''
RadioButtonList1.RepeatDirection = RepeatDirection.Vertical;
and check ur place holder width and height.100%
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
I am developing a report for a survey. In that I have data in Text Boxes, Radio Buttons and Grid View. I wish to display all the values in the form view to MS Word. Is this possible? Help me with Some sample codes.
Its urgent.
|
|
|
|
|
if u want to export grid in to pdf or word file then it possible so u search Google lots of link available.
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Hi Piyush,
I need to export the entire form to MS word. Not only the Grid.
Santhosh
|
|
|
|
|
I need help in the ASP.Net Code,
I have a web page where in there's a Dropdown box it's filled with some data
during page load when the user changes any value of the Dropdown it should
show an modelpopup depends upon the dropdownvalue....
|
|
|
|
|
|
I have a solution containing about 5 projects. One of these is "CommonClass" witch contains a class User with a public property ReportName. In my web site i check this property on an user object (if (usr.ReportName) ...) Intellisens works on the property, and when i right click and "go to definition" i go to the correct file and definiton. However when i build i get the following error:
'Project.CommonClass.User' does not contain a definition for 'ReportName'
How can i fix this error?
I'm re-sending this message as it is very urgent to find the solution. YOur help is really appreciated
|
|
|
|
|
nilam2477 wrote: it is very urgent to find the solution
So, you are suggesting that other people's problems aren't urgent?
nilam2477 wrote:
'Project.CommonClass.User' does not contain a definition for 'ReportName'
Is the class/method exposed outside the assembly? Is it public?
|
|
|
|
|
nilam2477 wrote: I'm re-sending this message as it is very urgent
well, not to me.
nilam2477 wrote: YOur help is really appreciated
well,
- Did you reference the assembly?
- Did you use the right namespace?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hi.
I am having trouble with .NET asp page written with C#. I am starting new thread from my web page and inside that I am running .dtsx(Sql Server Integration Services) package.
I dont know if this should be posted here but I though that this would at least be place to start. Please correct me if I am wrong.
Any way. The problem is that no matter what I do the package I run uses default time format(the one used when installing the server maybe?). It is in US format and I would like to use Finnish one.
What I have tried to fix the problem:
-Change CultureInfo and CulturureUIInfo for current and new threads. Success yes. But the package still uses US format.
-Changed culture to webconfig. No effect. Changed culture in Aspx page. No effect.
-Changed International (Default Regional if I understood correctly) settings to Finnish. Used this for help: Changing Server Core's Look and Feel, Part 1 [^]
- Changed date formats for all users to be correct using regedit. Even searched all registeration values for wrong date format. Didn't find any after I had manually changed them.
-Changed IIS configuration. At least some parts. Found one place where date format was still wrong.
NOTHING helps.
When I run my package using DTSEXEC it works fine.
When I run it using web page it does not.
Application application = new Microsoft.SqlServer.Dts.Runtime.Application();
Package pLoader = new Package();
pLoader = application.LoadPackage(SSISPath, null, false);
if (!SSISConfig.Equals("")) export.ImportConfigurationFile(SSISConfig);
DTSExecResult result = pLoader.Execute();
Any ideas configuring the server, changing the code or some other solution would be most welcome.
Please help me =)
|
|
|
|
|
hi all,
Can anyone please tell me how to write the menu items in one file and display it in all the aspx pages???
scarface
|
|
|
|
|
User control, master page, sitemap to name but a few. Try google with some of these.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
You can use masterpage to define the menu
Mihir Prasad Dash
Software Analyst
India
|
|
|
|
|
Dear Friends...
i am new to Asp.net with c#....please help me How to Download images to local folder....
Thank you,
|
|
|
|
|
The user has to save them, you cannot force them down - its a basic security concept of web pages.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Good Day All
I have a Listbox with name lstbxTags and it get populated fine and i have another two List boxes named ListBox1 and lstbxLecturers in lstbxTags_SelectedIndexChanged event of the Listbox lstbxTags i have the Following Code
protected void lstbxTags_SelectedIndexChanged(object sender, EventArgs e)
{
BLL.BLL obj = new BLL.BLL();
DataSet ds = new DataSet();
String SelectedStaff = Convert.ToString(lstbxTags.SelectedItem.Value);
int Selected_Staff = obj.Get_Selected_id_of_Tag(SelectedStaff, Convert.ToString(Session["ActiveDatabase"]));
ds = obj.FILTER_TAG(Selected_Staff, Convert.ToString(Session["ActiveDatabase"]));
ListBox1.DataSource = ds;
ListBox1.DataTextField = "Descr";
ListBox1.Visible = true;
lstbxLecturers.Visible = false;
ListBox1.DataBind();
}
Now when i select something in the lstbxTags, nothing gets Populated in ListBox1, i have step through the code and it goes without a Problem.
what is the Problem
Thanks
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
what is your Requirement.
Mahendra Bisht.
|
|
|
|
|
My Problem is that the Listbox1 does not Get Populated with the values when you select an Item in lstbxTags listbox
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
I even Added the Following Code at the End
if (ds.Tables[0].Rows.Count > 0)
{
ListBox1.DataSource = ds;
ListBox1.DataTextField = "Descr";
ListBox1.Visible = true;
lstbxLecturers.Visible = false;
ListBox1.DataBind();
}
else
{
ListBox1.Visible = false;
lstbxLecturers.Visible = true;
}
this is to test if there are any records returned and the First true to the If statement get executed.
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Vuyiswa Maseko wrote: ds = obj.FILTER_TAG(Selected_Staff, Convert.ToString(Session["ActiveDatabase"]));
//Binding the Listboxes
ListBox1.DataSource = ds;
Does Ds populating correctly?
Vuyiswa Maseko wrote: ListBox1.DataTextField = "Descr";
What about the data text field ?
I have done a small prototype with ArrayList and bind the data, its working fine.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
This has been Working. So for the sake of look and feel , i too these controls and Put them in an Update Panel and Add them to a table, after i did that it stopped working. the "Descr" is Correct. as i said i tried to check if the returned Dataset has records by doing this
if (ds.Tables[0].Rows.Count > 0)
{
ListBox1.DataSource = ds;
ListBox1.DataTextField = "Descr";
ListBox1.Visible = true;
lstbxLecturers.Visible = false;
ListBox1.DataBind();
}
else
{
ListBox1.Visible = false;
lstbxLecturers.Visible = true;
}
And when i debug this , it says there are records, but i cant understand why dont they get populated in ListBox1
Thanks
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
No Luck ! I didn't find issue with that, even I have tried with Dataset
Are you generating the list box at runtime ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|