Amir Mirkamali RSS 2.0
 Wednesday, January 19, 2011

Add following code to your radmenu control. replace targetfieldname with your field.

<DataBindings>

<telerik:RadMenuItemBinding TargetField="TargetFieldName" />

</DataBindings>

Wednesday, January 19, 2011 8:02:57 AM UTC  #    -
ASP NET 2.0 | Telerik Controls | Troubleshooting
 Monday, December 06, 2010

The problem is that when clicking on the checkbox/radiobutton, then the vertical scrollbar jumps to the top!

This could happen in some scenarios because of the way RadFormDecorator styles checkboxes. When RadFormDecorator is used, the real checkboxes are hidden outside of the viewport. When the decorated checkbox is clicked however, browsers try to focus the real checkbox, hence the "jumping". To avoid that, the only thing that you usually need to do is to set position:relative to the parent container.

In this case however, because of the RTL mode, the approach is a bit different and need to add the following CSS the page:

input.rfdRealInput
{
   display:block;
   position: static !important;
   float: right;
   outline: 0;
   width: 0;
   height: 0;
   margin-top: -5px;
   FILTER: alpha(opacity=0)
   -moz-opacity: 0
   opacity: 0
}

Monday, December 06, 2010 6:01:09 AM UTC  #    -
ASP NET 2.0 | Troubleshooting
 Tuesday, January 12, 2010
To load types in other assembly just add the assemblyname via comma at the end of your type:
Type mytype = Type.GetType("Class2, Project2.Library "); 
for nested class you must put plus (+) instead of dot (.):
Type mytype = Type.GetType("Class2+SubClass1, Project2.Library "); 
 
Tuesday, January 12, 2010 5:50:46 AM UTC  #    -
ASP NET 2.0 | C#
 Wednesday, September 02, 2009
foreach (myEnum item in Enum.GetValues(typeof(myEnum))) 
{ 
... 
}
Wednesday, September 02, 2009 11:52:30 AM UTC  #    -
ASP NET 1.0 | ASP NET 2.0
 Monday, August 03, 2009
public int GetOrdinal(string tableName, string name)
 {
     DataView schema = GetSchemaTable().DefaultView;
     schema.RowFilter = String.Format("BaseTableName='{0}' AND ColumnName='{1}'", tableName, name);
     if (schema.Count > 0)
         return Convert.ToInt32(schema[0]["ColumnOrdinal"]);
     else
         throw new IndexOutOfRangeException();
 }
Monday, August 03, 2009 12:20:11 PM UTC  #    -
ASP NET 1.0 | ASP NET 2.0 | SQL Server

Check this method in your constructor class. this will give you parent class type.

Type callingClass = new System.Diagnostics.StackFrame(1).GetMethod().DeclaringType;
Monday, August 03, 2009 9:14:23 AM UTC  #    -
ASP NET 1.0 | ASP NET 2.0
 Sunday, July 05, 2009

to solve this problem do the following instructions:

    1. Browse to HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
    2. Add a DWORD value called TabProcGrowth with a value of 0
Sunday, July 05, 2009 11:37:46 AM UTC  #    -
ASP NET 1.0 | ASP NET 2.0 | Troubleshooting
 Wednesday, April 15, 2009

you can use this method
Request.IsSecureConnection

Wednesday, April 15, 2009 12:30:22 PM UTC  #    -
ASP NET 1.0 | ASP NET 2.0
 Monday, April 13, 2009
public static string Capitalize(string value)
{
	return CultureInfo.CurrentCulture.TextInfo.ToTitleCase(value);
}
Monday, April 13, 2009 4:54:16 AM UTC  #    -
ASP NET 1.0 | ASP NET 2.0
 Tuesday, March 03, 2009

You use an *.asmx file to create an ASP.NET Web Service.  This file contains your service implementation and is needed for hosting the service.

ASP.NET automatically generates the WSDL or "service description" for your service by reflecting over the types in your service.  You can see the WSDL for your service by browsing to your ASMX file, which should show you a help page for your service containing a link to the service description for the service.  The WSDL can also generally be reached by appending "?wsdl" to the address of the asmx file.

 

Tuesday, March 03, 2009 8:37:26 AM UTC  #    -
ASP NET 1.0 | ASP NET 2.0
 Tuesday, January 27, 2009

Response.ContentType = "application/force-download";

Response.AddHeader("Content-Disposition", "attachment;filename=\"" + Filename + "\"");

Response.BinaryWrite(yourbuffer);

Response.End();

Tuesday, January 27, 2009 1:19:08 PM UTC  #    -
ASP NET 1.0 | ASP NET 2.0 | Troubleshooting
 Monday, December 22, 2008

A WPF browser project is the same as writing a java applet/application, only you use IE and .net instead. you would do it for the same reasons you would write a java application.

The main wpf cons are:

  1. User must have .net installed, and use IE to access the app.
  2. Slow load time (.net vm must be loaded and app jit'd)

the main wpf pros:

  1. Rich UI (winforms)
  2. Coding understood by windows programers

the main asp.net cons:

  1. Programmer must learn web model
  2. Somewhat limited UI
  3. Cross browser testing required

the main asp.net pros:

  1. Cross browser compatiability (universal access)
Monday, December 22, 2008 2:34:28 PM UTC  #    -
ASP NET 2.0
 Wednesday, November 19, 2008

Run  RemoteComponents.hta from your installation cds. navigate and find "install full remote debugging on all operating systems" and push the install full button. I had to many probems with my remote debugger and this solved my problem.

this link was very usefull to understand what is my debugger problem:

http://blogs.msdn.com/mkpark/articles/86872.aspx

Wednesday, November 19, 2008 5:11:23 AM UTC  #    -
ASP NET 1.0 | ASP NET 2.0 | Troubleshooting

I got this strange error when tried to overwrite file. I had full control access but i got this error.

The error occured when the file is read only! change the attribute of existing file and you will be able to copy the file!

Wednesday, November 19, 2008 5:10:05 AM UTC  #    -
ASP NET 2.0 | ASP NET 1.0
 Sunday, November 16, 2008
  • Create a virtual directory at the root of your default website
  • Name the virtual WebAdmin
  • Set the Path of the Virtual Directory to "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\ASP.NETWebAdminFiles" where 50215 is the appropriate build version for your installed .NET 2.0 framework.
  • After the Virtual Directory has been created, right click on the Virtual Directory and got to properties.  Select the ASP.NET tab and make sure the ASP.NET version is set to a 2.0 version.
  • Open a browser and browse to the following url:
    http://localhost/webadmin/default.aspx?applicationPhysicalPath=D:\wwwroot\timetracker\&applicationUrl=/Timetracker
  • Make sure to change the applicationPhysicalPath and applicationUrl querystring parameters to match whatever they are on your system.
Sunday, November 16, 2008 10:18:37 AM UTC  #    -
ASP NET 2.0
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
Blogroll
About the author/Disclaimer

استفاده از مطالب سایت با ذکر منبع آزاد است

© Copyright 2012
Amir Mirkamali

Statistics
Total Posts: 40
This Year: 0
This Month: 0
This Week: 0
Comments: 1
Themes
All Content © 2012, Amir Mirkamali