tutorials, tips and tricks to design a Windows Phone,Windows Store ,UWP,XAML ,.Net Application , Micrsoft Interview Question
Wednesday, February 8, 2012
Changing Team Foundation Server Credentials
Tuesday, January 3, 2012
Build error: Unable to load DLL FileTracker.dll in VS 2010
The "GenerateResource" task failed unexpectedly. System.DllNotFoundException: Unable to load DLL 'FileTracker.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Locate the <GenerateResource> tag at Line 1835 and chnage the attributes TrackFileAccess
<TrackFileAccess>false</TrackFileAccess>
and restart your machine it will work
J.SuThahar MCA
MicroSoft Technology Specialist
Microsoft Certified ProfessionalDeveloper
www.jsuthahar.tk
09943151415
Friday, November 11, 2011
Access modifier Accessibility Levels
| Declared accessibility | Meaning |
|---|---|
| public | Access is not restricted. |
| protected | Access is limited to the containing class or types derived from the containing class. |
| internal | Access is limited to the current assembly. |
| protected internal | Access is limited to the current assembly or types derived from the containing class. |
| private | Access is limited to the containing type. |
Thursday, September 29, 2011
Option changes event
<
head><
style>.important
{ background-color:yellow; } .sorta-important { background-color:lightyellow; }</
style> <title>Untitled Page</title></
head><
body><
select onchange="this.className=this.options[this.selectedIndex].className" class="important"> <option class="important" selected="selected">Item 1</option> <option class="sorta-important">Item 2</option> </select></
body></
html>Saturday, September 17, 2011
ASP.NET TIPS: SENDING EMAIL USING ASP.NET (GMAIL OR YOUR SERVER)
Monday, September 12, 2011
Reset Controls Value using Asp.net / Javascript / J query
Reset Controls Value using Asp.net / Javascript / J query
Asp.net:
Dynamicaly you have to add controls means you don't know controls id so we can find control type in particular page after we can reset the page if your using C#.net coding mean page will refersh ,or if you are using javascript /j query means page not refresh
C#.net Coding:
protected void Button1_Click(object sender, EventArgs e)
{
ResetControl(this);
}
public void ResetControl(Control Parent)
{
foreach (Control c in Parent.Controls)
{
switch (c.GetType().ToString())
{
case "System.Web.UI.WebControls.TextBox":
((TextBox)c).Text = "";
break;
case "System.Web.UI.WebControls.CheckBox":
((CheckBox)c).Checked = false;
break;
case "System.Web.UI.WebControls.RadioButton":
((RadioButton)c).Checked = false;
break;
}
}
}
Javascript:
You can add client event in button .
<script language="javascript" type='text/javascript'>
function CLSEvent()
{
for (i=0; i<document.forms[0].length; i++)
{
doc = document.forms[0].elements[i];
switch (doc.type)
{
case "text" :
doc.value = "";
break;
case "checkbox" :
doc.checked = false;
break;
case "radio" :
doc.checked = false;
break;
case "select-one" :
doc.options[doc.selectedIndex].selected = false;
break;
case "select-multiple" :
while (doc.selectedIndex != -1)
{
indx = doc.selectedIndex;
doc.options[indx].selected = false;
}
doc.selected = false;
break;
default :
break;
}
}
}
</script>
JQuery:
function clear_form_elements(ele) {
case 'password':
case 'select-multiple':
case 'select-one':
case 'text':
case 'textarea':
$(this).val('');
break;
case 'checkbox':
case 'radio':
this.checked = false;
}
});
}
Saturday, September 3, 2011
Doubt on Indexer in C Sharp
I have doubt in indexer in c sharp. Can you explain me the
uses of indexer and example program with and without indexer. That
must be same program. Also need any real time example of indexer.
With Thanks & Regards,
J.Harishankaran
Mobile: 9677357493



