|
Microsoft provide study guides and links for all their certifications. Go back to the MSDN page and search from there.
|
|
|
|
|
Just learn the topics to an adequate level and you'll pass the test.
|
|
|
|
|
What i want, if the text is too long to fit as per the defined width, the text should be wrapped in next row. I don’t want to expand the column width to accommodate this text in one row. In other words, I want to wrap the text in next row if the text inside this columns exceeded the width of the column defined in gridview and reportviewer
|
|
|
|
|
|
Hi All,
I just tried put DataTable in my project. It look cool and robust. For quick result. I put this instruction into html file and it worked like charm. This is the screenshot.
Confidence with that html result, then, I created a new project in .Net Core and put those code into About/Contact template. What I remove html code to cshtml are head and body tag. But I got plain table like this screenshot.
What I tried to do debugged the javascript by using F12 Developer Tools and I found "Object doesn't support property or method 'DataTable.'"
Why this could happen in VS 2017 CE .net core 2 ? Meanwhile, it works well in html file.
I emphasize the link (css and js) just works fine in html.
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css">
<script src="https://code.jquery.com/jquery-1.12.4.min.js" type="text/javascript"></script>
<script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js" type="text/javascript" ></script>
<script>
$(document).ready(function() {
$('#example').DataTable();
} );
</script>
I also tried by using VS 2015 CE .net Core 1.1, it gave me the same result.
How to overcome this ? Please, advice....
Rgds,
modified 19-Nov-17 20:32pm.
|
|
|
|
|
You need to check the rendered output of the page that isn't working, to see what's gone wrong with the links.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I made a mistake by putting jQuery twice, in the top layout (_Layout) and the last layout.
|
|
|
|
|
i like to know how could we add culture or country code in url of asp.net webform project.
i search lot but found none such. i found few article they show how to set culture in code just render data from right resource file but none show how to add culture or country code in url.
i want when i will start my project then then url would look like http://localhost:port/gb or http://localhost:port/en-gb
and right country code or culture code will be added in other links in of the page.
there will be country flag when user click in germany flag then german country code or culture code will be added in url.
please advise me how to do it. it would be better if some one shared few article links which show how to add country code or culture code in url whose code i can download and run in my pc.
thanks
|
|
|
|
|
Hi,
I'd like to create a website based on a decision tree to help users in their choices. In my mind, I'd like a graph with boxes viewing all the possibilities (on the background webpage) and a lightbox showing the choosing step. After each choice, the graph will be updated to show the way and the lightbox is updated with the new question.
Is there an example here for this kind of request ? Or, where can I found a example to help me in this task please ?
|
|
|
|
|
|
|
I am using the WebBrowser Control and am running into problems with some web sites. I had to put the control into IE 11 emulation mode for the web sites that I visit. I notice that the auto complete doesn't work when I use the WebBrowser Control, but if I hit the web site with a normal web browser the functionality works fine. Is there a option for the WebBrowser Control to allow this functionality?
I am using the WebBrowser Control to log into web sites without the users knowing/sharing the password.
|
|
|
|
|
I think your over estimating the practical use of the control for your purpose.
I use it for scraping website content and data and pumping HTML into it for progress and status messages while scraping.
By the way, this topic is for ASP.net and your question belongs in VB or C# Questions
How to customize
WebBrowser Customization (Internet Explorer)
If it ain't broke don't fix it
|
|
|
|
|
|
Good day Friends! Please how can I add code tag in my asp.net app? I tried using INSTR function so that in return I change font style and colour but no luck. E.g <dcode>Private Sub...i used dcode instead of code so that codeproject won't treat it as code. Help please.
|
|
|
|
|
What?
Otekpo Emmanuel wrote: so that codeproject won't treat it as code Just paste it in and a popup will appear where you can pick code. Or, click the code tag in the toolbar of the editor.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
You are right
GobblesGobbles
Also we can tag
which automatically comes when you copy paste or write the code in code editor
|
|
|
|
|
Hi,
I am trying to use a string compare with a static string with a File name, the File name is very big like this: "BSC_gMax_BSC_gMax_PROD_20170721001923.xml_EXCEPTIONS_b77022d0-7176-469a-9e83-5182b59a0cba.xls" but I want all the 31 Alphabets irrespective of case from the file name to compare with the static string I have
For example I want to check the string which has 31 alphabets: BSCgMaxBSCgMaxPRODxmlEXCEPTIONS is satisfying with the File name, then return true. I can only use the regular expression though because its running dynamically.
I tried the following: "[a-zA-Z]{0,31}", "[a-z]+" and "[a-zA-Z]{0,31}$" none of them worked for me so far though, but any advice and suggestion going to be very very helpful. Please I can only use regular expression, I am also searching but if you are familiar it would be great help thanks in advance my friends.
Thanks,
Abdul Aleem
"There is already enough hatred in the world lets spread love, compassion and affection."
|
|
|
|
|
Hi
I'm not the world's greatest expert in regex, but
[a-zA-Z]{1,31} will return all the matches you want - you can test it on regex.com[^].
After that, you need to concatenate them into a single string - this Stackoverflow[^] page may help you with that.
|
|
|
|
|
No need for a regular expression - you just need to extract the letters from the string.
With LINQ:
string input = "BSC_gMax_BSC_gMax_PROD_20170721001923.xml_EXCEPTIONS_b77022d0-7176-469a-9e83-5182b59a0cba.xls";
string output = new string(input.Where(char.IsLetter).Take(31).ToArray());
Without LINQ:
string input = "BSC_gMax_BSC_gMax_PROD_20170721001923.xml_EXCEPTIONS_b77022d0-7176-469a-9e83-5182b59a0cba.xls";
char[] buffer = new char[31];
int bufferIndex = 0;
foreach (char c in input)
{
if (char.IsLetter(c))
{
buffer[bufferIndex] = c;
bufferIndex++;
if (bufferIndex == 31)
{
break;
}
}
}
string output = new string(buffer, 0, bufferIndex);
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
In a C# 2010 web form application, I have found some JavaScript statements that will not allow the application to execute when I am using the Internet Explorer browser since some of the objects are obsolete/deprecated. However when I run the application using Firefox, I find that the application runs. I have also noted that some of the Javascript objects in the web form application may be deprecated in the future and to use these items with caution.
Thus if I deploy a new version of the current web form application and tell all users to only use Firefox in the next few weeks, I will create a static executable that everyone can use. Then when some of the objects are not allowed in Firefox, the application will still run since I have not changed the executable, correct?
Would I need create a new version of the application with the Javascript changes that are required?
If this is not true, would you let me know why and potentially what I should do to solve the issue?
|
|
|
|
|
dcof wrote: Would I need create a new version of the application with the Javascript changes that are required? I don't quite follow what you are asking, but if you find you are using old JavaScript that some browsers no longer support I suggest you update your code to be current. In my opinion, there is no need to create a new version of the application, just update your javascript and deploy the updated javascript.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
As far as I know when you deploy an application that includes the javascript. How do you deploy the javascript separately?
|
|
|
|
|
All you have to do is copy the files.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I am not very familiar with javascript. I only know enough to make minor changes. Thus how do you copy the javascript files? I know that the files end with .js and they are at various locations within the entire solution file. Wouldn't I have to copy all those files to the same directory structure on the server that hosts the website?
|
|
|
|