shahid82

Stories submitted by shahid82

Android-Hello World(www.shahidriaz.com)

submitted by shahid82shahid82(150) 11 months, 23 days ago

Starting example of Android programming read more...

add a comment |category: |Views: 6

tags: another

Create Data table at client Side(www.shahidriaz.com)

submitted by shahid82shahid82(150) 1 year, 3 months ago

How to Create a data table at client side in ASP.Net read more...

add a comment |category: |Views: 4

tags: another

Expand and Collapse Dev Express hierarchical grid(www.shahidriaz.com)

submitted by shahid82shahid82(150) 1 year, 3 months ago

Expand and Collapse Dev express hierarchical grid. read more...

add a comment |category: |Views: 31

tags: another

Sharepont Event Handler(www.shahidriaz.com)

submitted by shahid82shahid82(150) 1 year, 9 months ago

Sometime its necessary to check some business logic when adding/editing/deleting data from a sharepoint list. In this article I’ll show how to implement the custom logic while adding/editing and deleting data in sharepoint list. For this purpose I have created a Custome List in sharepoint and named it MyNews. This list has following column read more...

add a comment |category: |Views: 2

tags: another

Read data from SharePoint List(www.shahidriaz.com)

submitted by shahid82shahid82(150) 2 years ago

In my previous POST i showed that how we can use SharePoint object model to insert records into a SharePoint List. In that example I made a console application which reads a comma separated file and then inserts those records into SharePoint List read more...

add a comment |category: |Views: 38

tags: another

Insert Data in Sharepoint List using Sharepoint object model(www.shahidriaz.com)

submitted by shahid82shahid82(150) 2 years ago

Insert Data in Sharepoint List using Sharepoint object model. read more...

add a comment |category: |Views: 100

tags: another

Filewatcher(shahidriaz.com)

submitted by shahid82shahid82(150) 2 years, 8 months ago

Working with the Created Event of the FileSystemWatcher class. read more...

add a comment |category: |Views: 12

tags: another

How to retrieve data from Cookie(shahidriaz.com)

submitted by shahid82shahid82(150) 2 years, 8 months ago

How to retrieve data from cookies in ASP.net read more...

add a comment |category: |Views: 10

tags: another

iframe source on the fly(shahidriaz.com)

submitted by shahid82shahid82(150) 2 years, 9 months ago

This article will explain that how to load pages dynamically in IFrame from the code behind. Actually few days back I encountered a situation where I was interested to set the src of IFrame dynamically. Some of the solutoin which I found on the internet were some thing like this: Declare a Generic control: protected System.Web.UI.HtmlControls.HtmlGenericControl IFrame1; Then, you need to do findcontrol to identify the control on the page and typecast it: HtmlControl IFrame1 = (HtmlControl)this.FindControl("IFrame1"); Now you can access the src property: IFrame1.Attributes["src"] = http://www.live.com ; I tried this solution but it did not work. Cry SimilarlyI found many other solution saying exactly the same thing which I mentioned above. I posted on different forums and the answer was that this solution might not work if you are using master pages. And they gave me another suggestion that instead of passing IFrame1 (i.e. the ID of your Iframe) just pass the client ID of the IFrame to Findcontrol. But that solution also did not work for me. Then I came across a POST which stated that turn your HTML snippet into server side code and then use the above code i.e. (HtmlControl IFrame1 = (HtmlControl)this.FindControl("IFrame1");) I did not try this suggestion, instead I only turned my IFrame into a server side control by adding a runat="server" attribute into my IFrame and then like any other server control I accessed my IFrame from the code behindLaughing I hope that this will help all who are facing same kind of problem. Here is the summary: * Turn your IFrame into a server side control by adding a runat="server" attribute, like this: <IFrame id="myDynamicFrame" scrolling="auto" runat="server"/> * Now you can access this control from your code behind file and you can set its src property on the fly, like this: myDynamicFrame.Attributes["src"] = "http://www.shahidriaz.com"; read more...

add a comment |category: |Views: 10

tags: another

Some interview questions(shahidriaz.com)

submitted by shahid82shahid82(150) 2 years, 11 months ago

Some interview questions and their answers read more...

add a comment |category: |Views: 36

tags: another

How to Implement Shallow copy in .Net(shahidriaz.com)

submitted by shahid82shahid82(150) 3 years, 2 months ago

n shallow copy the change in your cloned class will also reflect in the main object too. Shallow copy is the easiest way to clone your class. If you want that your class can be cloned then you can implement an interface called ICloneable. Here I am giving a small example showing how to implement ICloneable interface. ICloneable interface expose only one method which is Clone. read more...

add a comment |category: |Views: 8

tags: another

Applying Quality Attributes to your application(shahidriaz.com)

submitted by shahid82shahid82(150) 3 years, 2 months ago

Quality Attributes read more...

add a comment |category: |Views: 14

tags: another

Delegate in C Sharp(shahidriaz.com)

submitted by shahid82shahid82(150) 3 years, 3 months ago

Examples of Delegate and Generic delegate in C Sharp. read more...

add a comment |category: |Views: 24

tags: another

Singleton design pattern(shahidriaz.com)

submitted by shahid82shahid82(150) 3 years, 3 months ago

This is a detailed example of implementing Singleton pattern using C#. An example is also attached.. read more...

add a comment |category: |Views: 13

tags: another

Abstract Factory pattern(shahidriaz.com)

submitted by shahid82shahid82(150) 3 years, 3 months ago

Abstract factory design pattern using C# read more...

add a comment |category: |Views: 35

tags: another

Microsoft Sticks to Windows 7 Name for Next OS(shahidriaz.com)

submitted by shahid82shahid82(150) 3 years, 3 months ago

Microsoft Sticks to Windows 7 Name for Next OS read more...

add a comment |category: |Views: 2

tags: another