|
I haven't been able to "move" my aspx form into my tab control. I am using master pages with the Ajax tab control on a content page. Has anyone done this or does anyone have a link to some sample code?
|
|
|
|
|
Hi all,
I have a array of treeview, and i want to display that array on GridView that each row of GridView is a treeview.
Ex :
+ John Details
- Age : 12
- Sex : Male
+ Peter Details
- Age : 14
- Sex : Male
+ Jes Details
- Age : 15
- Sex : Female
........
Like display QA in this website.
How could i do that?
-- modified at 11:36 Tuesday 18th September, 2007
|
|
|
|
|
Well - my first suggestion would be to check the title of the forum. It's ASP.NET. You want the Hardware forum.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
As a matter of fact , I am in the form I was intended to be. You see, I was developing an asp.net application which uses a POS terminal for reading magnetic cards and smart cards. I have a vega9000 type POS terminal and I am really stuck.. I was hoping that , any other person who came across with this problem..Maybe some other framework , some other terminal , some other way to sole my problem.. So.. any more suggestions?
Revelation 22:13
|
|
|
|
|
Hi Guys,
I have the sesstion id concatenated to the address line when i load a my
asp.net application pages:
http://Analyzer2/(S21g12siel2gh3o20bhm3dp45)/Menus/ANL_MainMenu.aspx
Does anybody know how to get rid of it?
Cheers.
|
|
|
|
|
Do you have:
cookieless="true"
in your web.config file? (Session State section)
Unless you especially want this, try setting it to "false".
|
|
|
|
|
Great. It worked.
But when i set cookieless to false does that mean that my web applicaiton
is using cookies ('cause i've got a direct order from my client not to use cookies)?
-- modified at 10:58 Tuesday 18th September, 2007
|
|
|
|
|
well, (assuming you aren't using/setting any cookies of your own) it will still set a so-called per-session cookie to hold the session-id that you were seeing in the url. Such a cookie is not written to the client hard disk but only held in memory and is destroyed when the user next shuts his/her browser down.
This may or may not satisfy your client - if not, you will have to return to the cookieless state and put up with the session-id in the url as before.
Chances are your client won't know about per-session cookies, so you could always try not mentioning it! Otherwise, explain to them that the server has to have some way of knowing which page request is coming from which user, and the randomly generated session-id that it passess back and forth with each request is how it does so.
Fred
|
|
|
|
|
The process cannot access the file 'C:\Inetpub\wwwroot\ralph.pdf' because it is being used by another process.
and the file is just being created.
what should I do?
BiG RaLpH
|
|
|
|
|
If you've tried creating it before (previous test run maybe) perhaps the process then didn't end properly. Try restarting IIS, checking the processes in Windows task manager (crtl+alt+del) or you may need to do a complete re-boot.
Make sure your code catches any erros and closes down ecerything it needs to before trying again.
|
|
|
|
|
It sounds like the process that creates the PDF isn't closing file handles properly. You need to ensure that the PDF writing stream is closed before you try to use it.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
how can I make sure that the writing stream is closed?
BiG RaLpH
|
|
|
|
|
In a web application is it necessary to programmatically code for all the buttons(export,print.etc) that exists on crystal report viewer? Why if so?
|
|
|
|
|
Hi All,
I have a calender control on my ASP.Net page.The value of the calender control gives date and time.However i want only the date with out the time.
Calander1.selecteddate; ---- returns both date and time
How will i get the date only?
Thanks
|
|
|
|
|
try this:
Calander1.SelectedDate.ToString("dd/MM/yyyy");
|
|
|
|
|
|
A quick search on this site reveals this[^] blog engine by Marc Clifton.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
|
Hi,
I have to retrieve data from Active directory and bind that to a dropdown list control.Can any one help me to do the function.
Thanks in advance.
Babu
|
|
|
|
|
It's not binding but here it goes:
You should replace these lines with the proper values
entry.Path = "GC://****";
entry.Username = txtUN.Text;
entry.Password = txtPW.Text;
DirectoryEntry entry = new DirectoryEntry();
entry.Path = "GC://****";
entry.Username = txtUN.Text;
entry.Password = txtPW.Text;
DirectorySearcher ds = new DirectorySearcher(entry);
ds.Filter = txtQuery.Text;
ds.CacheResults = false;
ds.SearchScope = SearchScope.Subtree;
foreach (string s in cols)
ds.PropertiesToLoad.Add(s);
src = ds.FindAll();
cbResults.Items.Clear();
for (int i = 0; i < src.Count; i++)
{
if (src[i].GetDirectoryEntry().Properties["mail"].Value != null)
cbResults.Items.Add(src[i].GetDirectoryEntry().Properties["mail"].Value);
else
cbResults.Items.Add(i);
}
private string[] cols =
{
"displayName",
"givenName",
"sn",
"ou",
"employeeType",
"mail",
"telephoneNumber",
"samAccountNumber",
"whenCreated",
"whenChanged",
"objectGUID",
"c",
"objectCategory",
"anr",
"otherTelephone",
"cn",
"badPwdCount",
"lockoutTime",
"pwdLastSet",
"lastLogon",
"mobile",
"Profile",
"LastLogin",
"MaxStorage",
"PasswordAge",
"Description",
};
|
|
|
|
|
Hi,
I am currently building a web application whereby translation is being catered by resource files. For some reasons, it is required that each web page in the site have it own resource files. Thus, for a given page, page say "PageTest", there will be two resource files "PageTest.en-gb.resx" and "PageTest.fr-fr.resx" (provided that only two languages are defined for the time being). This process extends to all pages in the site. I store all the resource files in single folder such that i have :
Resources\Page1Test.en-gb.resx
Resources\Page1Test.fr-fr.resx
Resources\Page2Test.en-gb.resx
Resources\Page2Test.fr-fr.resx
etc....
Visual Studio nicely builds two DLL (satellite assemblies) in the bin folder of my application as follows :
bin\en-gb\Web.Resources.DLL --> This folder contains all resources files in english (ie. Resources\Page1Test.en-gb.resx , Resources\Page2Test.en-gb.resx etc..)
bin\fr-fr\Web.Resources.DLL --> This folder contains all resources files in french (ie. Resources\Page1Test.fr-fr.resx , Resources\Page2Test.fr-fr.resx)
So far so good. The problem here is that i have no idea how to reference a specific resource found in a specific resource file of the satellite assembly.
Clearly speaking,
How can i distinguish between en-gb\Web.Resources.DLL --> Page1Test."Resource_key" and en-gb\Web.Resources.DLL --> Page2Test."Resource_key" where "Resource_key" is a simple key to retrieve a string?
Can you please help me on this point? Thank you.
|
|
|
|
|
" i have no idea how to reference a specific resource found in a specific resource file of the satellite assembly."
You don't need to. The framework will access the proper resource file for the language being used, all you need to do is reference the resource key.
only two letters away from being an asset
|
|
|
|
|
Thanks. The thing is that the resource key can be available in different resource files contained in the satellite assembly. I need an access means to ensure that if i want Web.Resources.DLL -> Page1Test.en-gb->"Page title", then i will not get Web.Resources.DLL -> Page2Test.en-gb->"Page title" instead.
Can you please help?
Thanks
|
|
|
|
|
|
Thanks Mark Nischalke,
based on the MSDN link and a bunch of other articles, i managed to access a specific resource, in a specific resource file of a Satellite Assembly.
The syntax is as simple as this :
ResourceManager _resManager = new ResourceManager([Name of Satellite Assembly]+ "." + [Name of resource file embedded] + "." + [Culture name], Assembly.GetExecutingAssembly().GetSatelliteAssembly(_culture));
Thanks again.
|
|
|
|