.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Prompt Value as Out put

Posted By:      Posted Date: September 10, 2010    Points: 0   Category :Sql Server
Hi Guru's I have a report requirement that user need selection criteria of prompt as in the output file,for this i have written an expression and in report output selection values are getting displayed.PROBLEM i have a prompt which as big list and it is default selected as ALL so in the out put lenthy list is displaying my requirement is   when user selects ALL in the out put it should display ALL(Instead the big list).When user selects single option it should display single item can anybody please tell me the expression?   thanks krish

View Complete Post

More Related Resource Links

Read Only / Edit Prompt window


Dear all,

As a default, my SharePoint farms are showing a pop up window from IE asking if users want to open the doc in read only or in edit mode. Is there a way to get rid of this window as chose one of the options for default? Where can I do this?

Thanks in advance.




How to generate pdf from 2005 rdl report files from command prompt?

Hi All, I have a scenario like this, i have 10 rdl reports, which needs to run on a job basis with out any user interaction. Tell me is there any way to generate the pdf from command prompt using existing 2005 rdl files. Your help is more appreaciated!! Thanks, Sarvesh M  Sarvesh

send email prompt a security dialog

i don't know why when i send email through outlook with default logging on user as a sender to receiver, it always prompt a security dialog asking me if i allow to send this email ,if click 'Yes' button,then send, click 'No' button,then fail to send and prompt a error message. how can i prevent security dialog when using visual studio 2008 and outlook 2003. 

Prompt "The proper type library could not be found in the system registry" when open SQL2008 Express

Hi folks, I just format my notebook and installed the Win7Pro Eng 32-bit version and then install the SQL2008Express. I restarted my notebook as usual after the installation and open the SQL SMS, it prompt the following error "The proper type library could not be found in the system registry", It's a big dialog with certain text saying I do not have permission...etc. Since, I am using administrator account to open the program already but still fail. I have to repaire the SQL SMS too. May I know any other I can check? Any comment is highly appreciated. Thank you very much! Regards, Tony  

Parameter prompt based on culture

Hi All, I am using ssrs 2008. in my report i am using culture as fr-CA.in parameter section one bollean param is there. So it wioll display : Select  :  True false . but i need true false text in french.i set up the Report culture as fr-CA.but it is still showing true and false in english. is it possible to resolve? Thanks VRU

Open a Command Prompt of Remote Computer

Hi All, I need to open a Command prompt (cmd.exe) of a Remote server computer and Run a Command from my asp.net web application (C# laungauge).  I have progressed till opening a command prompt of the webserver where the website is hosted. My code is:System.Diagnostics.ProcessStartInfo psi = new ProcessStartInfo(); psi.WorkingDirectory = "C:\\WINDOWS\\system32"; psi.FileName = "cmd.exe"; Process p = Process.Start(psi); System.Threading.Thread.Sleep(5000); I have achived this using the VB script. The code is:wshShell.run("c:\scripts\uptime\psexec.exe \\nawinapp627 -u domainname\userid -p password cmd.exe") WScript.Sleep 5000 In the above code psexec.exe is software used to access remote computers. nawinapp627 = Remote server Please help me to achieve above using C#. Advance thanks..

Opening office Documents in MOSS 2007 document Library.... You get a prompt to login...

*Sigh* i know i'm not the only one who has experienced this.   You have a Moss 2007 farm on your Server... yet you have employees and users who use Office 2003 products (word, excel, power point) Everything is installed correctly you yourself use office 2007. but don't post office 2007 docs.. just open the docs that people already post (2003 stuff) Computer Environment si am using....It does this in both Environments1st one Windows Vista Ultimate Updated Service Packs Office 2007 All update Serice Packs Internet explorer 7.0 2nd Environment Windows XP all updated Service Packs Office 2007 All updated Service Packs Windows Internet Explorer 7.0 Server Environment Moss 2007 with SP1 installed Microsoft 2003 Server No matter what happens.... when i try to open up a word documents or excel or anything.. when using office 2007..... it ask me for a login...I believe there was an article about correcting something in the registry or something.. can someone give me detail bulleted / bold instructions... this has been bothering me for a while.

How to SDelete from a System.Diagnostic.Process with no warning prompt

I have a need to securely delete files once my process is finished with them.  I have to write a file to disk, so another process can read it and process it.  It is not an option to simply write it to a stream because I have no control over the consumer of the file. So, I found the SDelete tool Sysinternals which should solve my problem nicely.  I wrappered that with the following static method in my Utility library: public static void SecureDelete(string fullyQualifiedFileName, string domain, string user, SecureString pswd) { // // This does not appear to be working properly... // it works under the debugger, but not when running as a service // using (System.Diagnostics.Process p = new System.Diagnostics.Process()) { p.StartInfo.FileName = "sdelete"; p.StartInfo.Arguments = string.Format("-q {0}", fullyQualifiedFileName); p.StartInfo.CreateNoWindow = true; p.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; p.StartInfo.RedirectStandardOutput = false; p.StartInfo.UseShellExecute = false; p.StartInfo.Domain = domain; p.StartInfo.UserName = user; p.StartInfo.Password = pswd; p.Start(); } } The problem is that when I run under the debugger (using my credentials) it works fine, but this code is called from a service which runs under the Network Service account, so

Confirmation prompt when click on "save" button?

Currently I am working on SharePoint 2010 project that my customer want something like confirmation prompt, (e.g. upon click on “save” button, system prompts “are you sure you want to save?”) for all following 8 area: ·         Document Repository (meta-data) ·         Calendaring ·         News ·         Task List ·         Quick Links ·         Blogs ·         Wiki ·         Forums   Is this possible?  Has anyone done this or something similar?  Can anyone point me to some examples or best practices when doing this? Thanks Believing is Seeing

Document Library Prompt

I would like to prompt a user to enter name and email address when downloading a document from a document library. Has anyone done this, or would like to point me somewhere to start?

Accessing the command prompt of the server computer in c#

Hi ,I'm developing a web application in asp.net using  C# and need to access the command prompt of the server computer.After accessing it I need to run a "ABC.bat" file in the server computer which is in folder "E:\Test".The absolute path of the server is "\\MyServer"Any help to achieve this ( or any other alternative suggestions) would be greatly appreciated....ThanksPS: I need to run the ABC.bat file on the server machine as the bat file runs couple of more applications which are licensed to that server machine.

Accessing SharePoint via UNC Path Causes Password Prompt

I have a script that has to use a UNC path to drop a file into a SharePoint document library. For some users on some computers when they try to access the SharePoint site (http://Sharepoint) via the UNC Path (\\Sharepoint) they get a password prompt. Most users do not get a password prompt and get let right in. I have checked all the obvious things like zone settings, saved network passwords, etc. If I log a user that gets a password prompt into a different machine (that isn't having the problem) then it works just fine. This indicates to me that it is a client issue as opposed to a user issue.

Prompt for "File Download" on Page Viewer Web part pointing to .htm file

I am in the process of moving my 2007 site over to 2010. On some of my sites I have a page viewer web part that points to a .htm file. It works great in 2007, but in 2010 I get a "File Download" prompt. Any ideas? Thanks --tolga

How to display a prompt message from gridview_deleting event

Hello, i am following a code example to prompt user before delete and have a reference to the commandfield Delete linkbutton.But something is missing because nothing happen when executed.  Gridview1_Deleting linkBtn.OnClientClick = "return confirm('Are you sure you want to delete this entry?');" end sub <Columns>                        <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />

MaskedEditor with custom prompt string

HiIs it possible to set a prompt to the masked editor. I would like the textbox to show "dd/mm/yyyy" before giving it focus and while the user enters the date, so the "dd/mm/yyyy" is replaced while typing the date.Is that possible ?

Open Office Documents from Document Library without Password Prompt

We have a SharePoint site and Document library set up for anonymous access.   All non-Microsoft file types open correctly without a password.   When users click on Microsoft Office documents they are prompted for passwords.   Is there some way to configure the Office documents or Document Library so that users are not prompted for passwords when they open documents or is this a bug?

Windows Auth - still showing login prompt in IE...

Hi, I'm trying to setup my IIS 7.0 MVC2 site but having problems. I want to use Integrated Security so that the app can obtain the user's credentials. We can then do a look-up of some AD groups to determine what they can do from that point onwards. The problem is - Every time we browse to the application, instead of navigating to our main page immediately, we get a login prompt provided by IE. I've read that we need to make sure that in the browser's Tools->Options->Advanced-> (Securiy-> ENable Windows Intagrated Security) must be checked - which it is on ALL 3 machines where I try this. The machines AND the server are all in the same domain. My config file states <authentication mode="Windows" /> and I've tried every combination for <identity...> and <authorization...> but to no avail. I can only get the "login" prompt to go away if I enable Anonymous Authentication - but then I can't detect the windows user or their group membership. What is causing the perpetual display of the login prompt - Its driving me mad ! Help...
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend