|
The simplest option is probably the :placeholder-shown selector:
Updated demo - JSFiddle[^]
NB: This won't work in IE11 or Edge, because they don't support the :placeholder-shown selector. The X will always be visible in those browsers.
Can I use... - :placeholder-shown CSS pseudo-class[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Sir...thanks a lot for sharing this knowledge.
to get different X icon i change the code a bit. here it is
<div class="btn-group has-feedback has-clear">
<input id="searchinput" type="search" class="form-control" style="width:200px;" placeholder="Search">
<a
id="searchclear"
class="glyphicon glyphicon-remove form-control-feedback form-control-clear"
style="pointer-events:auto; text-decoration:none; cursor:pointer;"
onclick="$(this).prev('input').val('');return false;">
</a>
</div>
https://jsfiddle.net/DTcHh/42292/
https://jsfiddle.net/DTcHh/42298/
modified 1-Feb-18 4:14am.
|
|
|
|
|
i want to hide a column in gridview in asp.net using vb languge and i want to use the column value in runtime
|
|
|
|
|
GridView1.Columns(0).Visible = False This is in C# you have to write its vb equivalent.
|
|
|
|
|
already try this but i want to use those hidden column values in runtime
|
|
|
|
|
|
I've been using tinyMCE with the moxiemanager plugin for years, but their pricing structure now is such that I may as well fork out the $1K or so for Telerik or ComponentOne, or similar (and get the added benefit of their other controls as well.). If there's a free on even better, of course, but I haven't seen any that come with a good file manager. Wondering what recommendations people may have... posting this here because it must integrate with ASP.NET winforms webforms applications.
... a decent server file manager (such as moxiemanager) is essential. Moxie also includes some basic image-editing functions, which is useful. But, of course, ease of use of the HTML editor by users not proficient is HTML is key. One place tinyMCE falls down is with bullet lists, ordered or unordered - it's never been good at handling them, and even their latest incarnation isn't brilliant, so any improvement on that would be a plus. One thing tinyMCE is good at though (now, finally) is handling content pasted in directly from Word, and that is huge plus, users being who they are...
Anyway, be interested to hear of your experience and thoughts.
modified 28-Jan-18 12:06pm.
|
|
|
|
|
Looking for Filipino Developer/Trainer that can provide one-on-one training for ASP .NET MVC.
|
|
|
|
|
This is a technical forum. You need to search somewhere in the Philippines.
|
|
|
|
|
Use any job site to hire.Please refrain asking this type of question as this is a technical forum.
|
|
|
|
|
Whats are the difference between EF and EF2.0?
|
|
|
|
|
|
Hi,
Created a web application (with a login page, export a file page and a user management page) and when I attempt to build the application, I get the following errors:
BC40057: Namespace or type specified in the project-level Imports 'Microsoft.AspNet.Identity' doesn't contain any public member or cannot be found.
40057: Namespace or type specified in the project-level Imports System.Web.Optimization' doesn't contain any public member or cannot be found.
So I open the property pages for the project, select the References section, click Add to open the Reference Manager and discover the assemblies I need are not there to be selected.
What do I do now?
Regards,
Red
|
|
|
|
|
|
|
I have a web application that I am maintaining. I made a change to the vb code, not the aspx page, and when I run the page now I am getting 
: inserted at the beginning of the textbox. What can be causing this? I am using IE 11.
|
|
|
|
|
It seems like the new line hasn't been translated into an actual line breaks. What change did you made? Have you tried testing it on other browser? What's the result?
Showing us some relevant codes here might help.
|
|
|
|
|
I tried re-loading the previous version of this program and it displayed the same behavior. So I restored the latest code and deployed it to the test server and there was no unwanted behavior, i.e. insertion of the . It seems the problem only occurs on my development computer. We are only allowed to run IISExpress locally here. There must be something with the patches that have been applied to developers computers.
|
|
|
|
|
Hi,
I'm working on a login page for an website app and since it's the same layout and format as all our apps, I just copied the html and code pages from another app. Now the fun begins...
I save and close my work for the day. The next day I open the project and in the code page for the login screen are dozens of errors, mostly all the same "LoginUser" not defined (this is the id of the asp:login control in the html). I move the code file to the CodeBehind property and the 'not defined' errors go away....wth!
Save and close the project for the day and when I open it again, guess what! "LoginUser" not defined in the code file again. Move the code file back to the CodeFile property and viola, erros go away.
Anyone seen this behavior?
Red.
|
|
|
|
|
|
Hi everyone,
I had trouble getting a VB project into TFS because I'm a newbie and had the local and source control mappings and bindings misconfigured. On one check-in to TFS, my project ended up being split into several new folders within the parent folder.
I straightened out the mess and tried again only to discover that the bin file somehow got lost so, I copied the bin file from another project to my project and removed anything relevant to the other project.
Now I can't compile my project because of this error:
"The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be located."
Obviously, I checked the bin file for this entry and it is there.
Internet isn't very helpful as I'm looking for a fix, not a work around.
Any help will be greatly appreciated.
Red.
|
|
|
|
|
Check you have the right version of the assembly (1.0.5.0 of (probably) Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll). Download a tool called "ILSpy", it lets you look at assemblies to see their versions and what classes etc are in them, it's pretty handy for debugging issues like this. Alas the "fix" is probably going to be to get the right assembly.
|
|
|
|
|
F-ES Sitecore,
It was suggested to me that I remove the compile section in the web.config file and let the system determine what to use.
Sure enough, there it was, in the web.config file and after commenting out the compile section, that particular error was never seen again.
Issue solved.
Thank you for your help eventhough it wasn't the solution.
|
|
|
|
|
so tell me how could i design whole things. suppose i have a registration class what has so many properties like
Account information
----------------------
First Name
Surname
Company Name
Contact Number
Email :
Password
Confirm Password
Billing information
----------------------
Address1
Address2
Town/City
County/State
PostCode
Billing Country
i have one customer class which has many properties for account and billing information. now i want when i will save customer data by EF then account info will be saved in customer table and billing info will be saved in address table. so tell me how could i do this mapping when i am working with EF db first and code first.
please discuss with a sample code. thanks
|
|
|
|
|
As you see in this example [^]
You should have relation between address table and billing table like a foreign key relation with billing table where primary key of that foreign key is defined in address table.
|
|
|
|