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

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


Posted By:      Posted Date: April 14, 2011    Points: 0   Category :WPF

I'm using regex to replace the following in the source code of an html file. What is the wildcard for WIDTH:165.10mm;
165.10mm; is the part that varies. I need to change it to WIDTH:100%





View Complete Post

More Related Resource Links

XML Signature xsd and Validation Error: Wildcard '##any' allows element causes the content model t

Hello,I'm trying to generate WCF client from Customer's WCF Service which has XML Signature options enabled.When trying to generate client proxy using svcutil I get following errors: Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.2152] Copyright (c) Microsoft Corporation. All rights reserved. Attempting to download metadata from 'http://donex:51343/WebServices /Service.svc' using WS-Metadata Exchange or DISCO. Error: There was a validation error on a schema generated during export: Source: Line: 1 Column: 13464 Validation Error: Wildcard '##any' allows element 'http://www.w3.org/2000/09/ xmldsig#:HMACOutputLength', and causes the content model to become ambiguous. A content model must be formed such that during validation of an element informati on item sequence, the particle contained directly, indirectly or implicitly ther ein with which to attempt to validate each item in the sequence in turn can be u niquely determined without examining the content or attributes of that item, and without any information about the items in the remainder of the sequence. Error: There was a validation error on a schema generated during export: Source: Line: 1 Column: 14410 Validation Error: Wildcard '##any' allows element 'http://www.w3.org/2000/09/ xmldsig#:XPath', and cau

String.Replace With wildcard (and use whatever "wildcard" is)

Hello there,I'm hoping someone out there know a way to accomplish what I'm trying to do, because I'm currently stuck :) What I want to do is to replace lets say ##test## with Something(test)..I know that I can find ##test## by: (Though don't know whether there's a smarter way)System.Text.RegularExpressions.Regex.Replace(str, "##Test.*##", "Output")So basically the problem is to get what the wildcard (.*) is, since thats really what I need to know..Anyone with a brilliant idea how to accomplish this?

SQL Server 2008 R2 Express + Wildcard Certificates

Note: Cross-posted from my question at ServerFault: http://serverfault.com/questions/176595/sql-server-2008-r2-express-wildcard-ssl-certificate (Not trying to be a jerk, just think I might get a better response here.) --- Wildcard certificates (for example, *.example.com) simply did not work in SQL Server 2008 or lower. But Encrypting Connections to SQL Server on MSDN states, plain as day, that SQL Server 2008 R2 supports wildcards certificates. Excellent. So I set up SQL Server 2008 R2 Express on a machine, and I configure the HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQLServer\SuperSocketNetLib\Certificate entry to the thumbprint of my wildcard SSL certificate (because in five years of dealing with SQL server, I have never gotten that #$@# dialog in Sql Server Configuration to display any certificates). The SQL Server log then tells me that this went over quite well: 2010-08-31 11:46:04.04 Server The certificate [Cert Hash(sha1) "5DDD9E51B30E0CA6CE3656AE54EC6D0B8B75904A"] was successfully loaded for encryption. Unfortunately, if I attempt to use Microsoft SQL Server Management Studio (the 2008 R2 version) or the Sql* classes provided in the .NET Framework 4.0, I always receive the following exception: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL

sharepoint wildcard search using SearchDocuments()

Hi, I have to search all the document with name doc in them.So i search it with search parameter as "doc" but it doesnt fetch any result.though i want result as all the document whose name starts with doc. Now I am able to search with fulltext. I want wildcard search using SearchDocuments method. I am using CWeb.SearchDocuments(SearchString). Any Help appricated!!! Thanks Srikanth Reddy

Wildcard Search in SP 2010

Dear Community, with Sharepoint 2010, Microsoft finally added a Wildcard Search. But only a prefixed one, at least as far as I found out. Is there a suffix wildcard search as well and I just didn't find it? If there isn't, can FAST Search do the job? Or do I have to implement a own (extended) search to do this (if even possible)? Thanks in advance, Greetings, SoundofSilence

Wildcard for Guids

Hello all, i have a column with Contacts to use as a Paramter. The display-name is the main and the internal value is of type uniqueidentifier. It should additionally appear a value named 'all' which means that all Contacts should be selected.   I tried it like that:   Select '*' as accountid, '[Alle]' as [name] Union All Select accountid, name from dbo.FilteredAccount order by name   but it gives an error; String cannot be converted to uniqueidentifier.   How can it be solved?   Regards, Patrick

WildCard Search using document library column


Hi there ,is there any step by step instructions on how to make search using custom columns with wildcard i mean ability to make user fill fields for column like

Registration code [and the user type something]

ItemName[and type another word]

then finally press search

what i have did for now is

created custom columns for document library

created a scope for this specific document library

created managed property mapped to crawled property of these columns

edited properties xml and added propertyDef and PropertyRef

installed DotNetMafia wildcard webpart and activated feature and added this webpart to page.

then no searchbox appeart ,what am i missing?


ASP.NET MVC2 Custom routing with wildcard or free text url


I have a requirement to add specific functionality to an asp.net mvc2 web site to provide addtional SEO capability, as follows:

The incoming URL is plain text, perhaps a containing a sentence as follows

"http://somesite.com/welcome-to-our-web-site" or "http://somesite.com/cool things/check-out-this-awesome-video"

In the MVC pipeline, I would like to take this URL, strip off the website name, look up the remaining portion in a database table and call an appropriate controller/view based on the content of the data in the table. All controllers will simply take a single parameter bieng the unique id from the lookup table. A different controller may be used depnding on different urls, but this must be derieved from the database.

If the url cannot be resolved a 404 error needs to be provided, if the url is found but obsolete then a 302 redirect needs to be provided.

Where the url is resolved it must be retained in the browser address bar.

I have had a look at the routing model, and custom routing and can't quite work out how to do it using these, as the controller would not be predefined, based on a simple route. I am also unsure of what to do to provide 404, 302 back to the headers also. Perhpas I need a custom httpmodule or similar but going there went beyond my understanding.

This must be possible someho

Employee Search wildcard- Help with this code


As the default sharepoint search doesn't support wildcard, I used content editor webpart, and insert a code in the source

the code is available at http://www.ramonscott.com/wordpress/ 

It added a text field for First Name, last name and a drop down menu for Dept.

I added an extra text field for telephone ext. The problem that i'm facing is it is searching for exactly what i'm entering in the text field (not the wildcard)

e.g if my ext = 298 --> I should enter 298 to get my name in the result, otherwise the result will return nothing.

How can I change the code to return any record that contain 298 (whether it begins with 298, end with 298, or in the middle)

below is the code from Ramon Scott

<script language="javascript">
//function to handle enter on keyboard
function txtWildPeopleFinder_KeyDown(e)
if (e.keyCode == 13 || e.keyCode==10)
return false;
return true;
//escape apostrophes in search strings
function escapestr(str)
return str.replace("'","%22");

Ontolica wildcard search solution exists


From where can i download the free Ontolica wildcard search solution for MOSS 2007?

SSRS - Report Builder - Wildcard usage in a Filter?


I am trying to use a wildcard in a Filter condition within a SSRS - Report Builder report. 


Are wildcards of anytime in fact allowed in this tool?  I get errors when I try to use SQL-like wildcards such as '%'.  I've also been unable to find any mention of "wildcards" in HELP.


Please help as soon as possible.  THANKS!

wildcard search


i want to do a wild card search in one of the db table data

currently i have 


="SELECT * FROM [Issues_vw] WHERE ([Title] LIKE '%' + @Title + '%')"


data shows when i input one word but when i put in multiple words nothing shows.

ex. if i put '64bit' data shows but when i put in '64bit windows' nothing shows up

how can this be done so i can search anything even if i put in '64bit windows' and lets say only '64bit' is in the @Title field it shows up.

anyways this can be done?


conflicting binding with net.pipe and weak wildcard

Greetings. This is the error in the event log:

An error occurred in the Activation Service 'NetPipeActivator' of the protocol 'net.pipe' while trying to listen for the site '123456789', thus the protocol is disabled for the site temporarily. See the exception message for more details.
 URL: WeakWildcard:net.pipe://machine1.domain.com/
 Status: ConflictingRegistration
 Process Name: SMSvcHost
 Process ID: 1964

My product is programmatically adding to 2 sites the net.pipe binding:

 site.Bindings.Add("*", "net.pipe");

Documentation on the Add method does not contemplate net.pipe, only HTTP and HTTPS. When adding bindings manually in  IIS there's a field called "Binding Information". I'm looking for the solution to the problem above. But will someone also please explain what this "Binding Informatino" is and how it is interpreted by IIS? 

thank you,

Wildcard '##any' allows element and causes the content model to become ambiguous.



I just generated a service from a wsdl and when I try to bring up the wsdl for the service, I get the error below in the App_tracelog.

How do I work past this ? Should I be updated the annotations on objects like the one below?  The WSDL is part of a spec and I am reluctant to make changes there.

Wildcard '##any' allows element 'http://www.openiam.org/service/connector:containerID', and causes the content model to become ambiguous.


        public PSOIdentifierType containerID
                return this.containerIDField;
                this.containerIDField = value;




I have an SQL query with 3 filters in the WHERE function. Only the 1st 2 need to be populated, the 3rd one is OPTIONAL. How can I make the query work when the 3rd filter is empty or NULL? If tried assigning an empty value using "" or " " but it doen't work. It does work when I incluse a value in the 3rd field. 

Multiple Flat Files Connection manager - unexpected behavior when using wildcard



I want to import multiple text files into a destination file.  This works fine when I point the connection manager directly to the 3 files that I need to import. However, these 3 files will change and sometimes there may be more or less files. Therefore I planned to use a wildcard (*). However, when I use a wildcard in the connection manager I get unexpected results - some of the records get duplicated in the output.  I have demonstrated this issue in  this short video clip. Apologies for the slight buzz / hum on the audio (you can just turn the audio off). 

Any help or advice would be appreciated. 



Wildcard People Search


We are looking for solution to implement wildcard people search. We have looked at javascript based solution but that does not solve our problem as it adds wildcard at the end of search criteria whereas we are looking for 'contains' kind of solution with wildcard at both ends of search criteria.


Somebody suggested ontolica enterprise search, but it is not very much clear from product page if wildcard search works on people search as well. Here we are looking for wildcard at both ends and not just at the end of search criteria. Same wildcard search should work from advanced search as well.




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